Merge pull request #4261 from consul/tooltip_width

Fix table icon tooltips with long texts
This commit is contained in:
Javi Martín
2020-11-17 20:46:03 +01:00
committed by GitHub

View File

@@ -181,7 +181,7 @@
@include tooltip; @include tooltip;
line-height: $global-lineheight; line-height: $global-lineheight;
margin-top: $line-height / 8; margin-top: $line-height / 8;
white-space: nowrap; width: max-content;
&::before { &::before {
@include css-triangle($tooltip-pip-width, $tooltip-background-color, up); @include css-triangle($tooltip-pip-width, $tooltip-background-color, up);