Skip to content

Commit

Permalink
[XY] Fixes the detailed tooltip wrap problem (#142818) (#143087)
Browse files Browse the repository at this point in the history
* [XY] Fixes the detailed tooltip wrap problem

* Add max width to the label container

* Apply PR comments

(cherry picked from commit d7924aa)
  • Loading branch information
stratoula committed Oct 11, 2022
1 parent a2a1165 commit fb34b60
Showing 1 changed file with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,14 @@
padding: $euiSizeS;

table {
table-layout: fixed;
width: 100%;

td,
th {
text-align: left;
padding: $euiSizeXS;
overflow-wrap: break-word;
word-wrap: break-word;
}
}
}
Expand All @@ -22,10 +24,13 @@
}
}

.detailedTooltip__labelContainer {
max-width: $euiSizeXL * 5;
}

.detailedTooltip__labelContainer,
.detailedTooltip__valueContainer {
overflow-wrap: break-word;
word-wrap: break-word;
}

.detailedTooltip__label {
Expand Down

0 comments on commit fb34b60

Please sign in to comment.