Skip to content

Commit

Permalink
client: add word break for query log domains
Browse files Browse the repository at this point in the history
  • Loading branch information
IldarKamalov committed Aug 1, 2022
1 parent 41f081d commit 753bd44
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/src/components/Logs/Cells/DomainCell.js
Original file line number Diff line number Diff line change
Expand Up @@ -147,11 +147,11 @@ const DomainCell = ({
/>
<div className={valueClass}>
{unicodeName ? (
<div className="text-truncate" title={unicodeName}>
<div className="text-truncate overflow-break-mobile" title={unicodeName}>
{unicodeName}
</div>
) : (
<div className="text-truncate" title={domain}>
<div className="text-truncate overflow-break-mobile" title={domain}>
{domain}
</div>
)}
Expand Down
7 changes: 7 additions & 0 deletions client/src/components/Logs/Cells/IconTooltip.css
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 753bd44

Please sign in to comment.