Skip to content

Commit b0ad0c0

Browse files
committed
Fix clipped tooltip text
1 parent f064978 commit b0ad0c0

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

assets/css/index.css

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1563,6 +1563,25 @@ a[href*="#no-click"], img[src*="#no-click"] {
15631563
bottom: calc(100% + 8px) !important;
15641564
left: 50% !important;
15651565
transform: translateX(-50%) !important;
1566+
max-width: 250px !important;
1567+
white-space: normal !important;
1568+
word-wrap: break-word !important;
1569+
}
1570+
1571+
/* Adjust tooltip position when near right edge */
1572+
.deprecated-tooltip-trigger:nth-last-child(-n+2) .deprecated-tooltip,
1573+
.deprecated-tooltip-trigger:last-child .deprecated-tooltip {
1574+
left: auto !important;
1575+
right: 0 !important;
1576+
transform: none !important;
1577+
}
1578+
1579+
/* Adjust tooltip position when near left edge */
1580+
.deprecated-tooltip-trigger:nth-child(-n+2) .deprecated-tooltip,
1581+
.deprecated-tooltip-trigger:first-child .deprecated-tooltip {
1582+
left: 0 !important;
1583+
right: auto !important;
1584+
transform: none !important;
15661585
}
15671586

15681587
.deprecated-tooltip::before {

0 commit comments

Comments
 (0)