Fix table icon tooltips with long texts
Combining the max-width and the white-space property resulted in the text exceeding its bounds if the text was longer than what the max-width property allowed. The `width: max-content` property, on the other hand, is compatible with the max-width property.
This commit is contained in:
@@ -181,7 +181,7 @@
|
||||
@include tooltip;
|
||||
line-height: $global-lineheight;
|
||||
margin-top: $line-height / 8;
|
||||
white-space: nowrap;
|
||||
width: max-content;
|
||||
|
||||
&::before {
|
||||
@include css-triangle($tooltip-pip-width, $tooltip-background-color, up);
|
||||
|
||||
Reference in New Issue
Block a user