a
This commit is contained in:
parent
0e432c62ae
commit
348f355eb2
4 changed files with 12 additions and 34 deletions
|
|
@ -2,8 +2,10 @@
|
|||
.tool-tip-popover {
|
||||
position: fixed;
|
||||
z-index: 2147483000;
|
||||
width: 220px;
|
||||
max-width: min(220px, calc(100vw - 16px));
|
||||
width: max-content;
|
||||
min-width: 160px;
|
||||
max-width: min(320px, calc(100vw - 18px));
|
||||
box-sizing: border-box;
|
||||
padding: 7px 9px;
|
||||
border-radius: 10px;
|
||||
background: rgba(46, 38, 30, 0.78);
|
||||
|
|
@ -15,6 +17,9 @@
|
|||
backdrop-filter: blur(1px);
|
||||
text-shadow: 0 1px 3px rgba(25, 18, 12, 0.55);
|
||||
pointer-events: none;
|
||||
white-space: normal;
|
||||
overflow-wrap: anywhere;
|
||||
word-break: break-word;
|
||||
}
|
||||
.tool-tip-popover.hidden { display: none; }
|
||||
.selected-actions {
|
||||
|
|
@ -733,16 +738,6 @@
|
|||
.tool-category[data-tool-category="operate"]:not(.collapsed) { top: 58px; }
|
||||
}
|
||||
|
||||
/* v39.15.38: prevent long tooltips from spilling outside the viewport. */
|
||||
.tool-tip-popover {
|
||||
width: max-content;
|
||||
min-width: 160px;
|
||||
max-width: min(320px, calc(100vw - 18px));
|
||||
box-sizing: border-box;
|
||||
white-space: normal;
|
||||
overflow-wrap: anywhere;
|
||||
word-break: break-word;
|
||||
}
|
||||
@media (max-width: 980px) {
|
||||
body.touch-mobile-ui .tool-tip-popover {
|
||||
max-width: min(280px, calc(100vw - 24px));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue