From 753bd44cbb592903ed996713a79e4dbf073d780b Mon Sep 17 00:00:00 2001 From: Ildar Kamalov Date: Mon, 1 Aug 2022 16:58:07 +0300 Subject: [PATCH] client: add word break for query log domains --- client/src/components/Logs/Cells/DomainCell.js | 4 ++-- client/src/components/Logs/Cells/IconTooltip.css | 7 +++++++ 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/client/src/components/Logs/Cells/DomainCell.js b/client/src/components/Logs/Cells/DomainCell.js index 620d671194f..ab511890407 100644 --- a/client/src/components/Logs/Cells/DomainCell.js +++ b/client/src/components/Logs/Cells/DomainCell.js @@ -147,11 +147,11 @@ const DomainCell = ({ />
{unicodeName ? ( -
+
{unicodeName}
) : ( -
+
{domain}
)} diff --git a/client/src/components/Logs/Cells/IconTooltip.css b/client/src/components/Logs/Cells/IconTooltip.css index ff3f492651c..8a84182a71d 100644 --- a/client/src/components/Logs/Cells/IconTooltip.css +++ b/client/src/components/Logs/Cells/IconTooltip.css @@ -19,6 +19,13 @@ overflow-wrap: break-word; } +@media (max-width: 991.98px) { + .overflow-break-mobile { + white-space: normal !important; + overflow-wrap: break-word; + } +} + .grid { display: grid; grid-template-columns: repeat(2, min-content);