1
0
mirror of https://github.com/mattermost/focalboard.git synced 2025-01-02 14:47:55 +02:00

Max width for tooltip is disabled ...

So users could read long file names when hovering on it.
- Tooltip position is changed. New position starts in accordance with file's name
This commit is contained in:
Baris 2023-04-10 00:04:10 +03:00
parent dc0e664df9
commit f7b8dda127

View File

@ -22,10 +22,7 @@ $tooltop-vertical-offset: 2px;
text-shadow: rgba(0, 0, 0, 0.098) 1px 1px 1px; text-shadow: rgba(0, 0, 0, 0.098) 1px 1px 1px;
box-shadow: rgba(0, 0, 0, 0.1) 1px 1px 2px 0; box-shadow: rgba(0, 0, 0, 0.1) 1px 1px 2px 0;
min-width: 2em; min-width: 2em;
max-width: 21em;
white-space: nowrap; white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
display: block; display: block;
} }
@ -102,8 +99,6 @@ $tooltop-vertical-offset: 2px;
} }
// Bottom tooltip body style // Bottom tooltip body style
&.tooltip-bottom:hover::after { &.tooltip-bottom:hover::after {
left: 50%;
top: calc(100% + 4px); top: calc(100% + 4px);
transform: translate(-50%, -#{$tooltop-horizontal-offset});
} }
} }