mirror of
https://github.com/zadam/trilium.git
synced 2025-10-19 06:38:59 +02:00
style/canvas: fix arrowheads picker being improperly positioned
This commit is contained in:
parent
0dd8be1599
commit
bf53744609
@ -188,12 +188,29 @@ body[dir=rtl] .excalidraw .Island.App-menu__left {
|
||||
:root .App-menu__left > .panelColumn > fieldset,
|
||||
:root .App-menu__left > .panelColumn > label,
|
||||
:root .App-menu__left > .panelColumn > div:has(> *) {
|
||||
position: relative;
|
||||
margin: 0;
|
||||
border-radius: 4px;
|
||||
box-shadow: 1px 1px 1px var(--floating-button-shadow-color);
|
||||
background: var(--floating-button-background-color);
|
||||
padding: 8px 12px;
|
||||
}
|
||||
|
||||
:root .App-menu__left > .panelColumn > fieldset::before,
|
||||
:root .App-menu__left > .panelColumn > label::before,
|
||||
:root .App-menu__left > .panelColumn > div:has(> *)::before {
|
||||
/* backdrop: blur() creates a new stacking context that prevents some popovers like the
|
||||
* arrowheads picker from being positioned correctly. To workaround this, the backdrop blur
|
||||
* effect is applyed using a pseudo-element instead. */
|
||||
display: block;
|
||||
position: absolute;
|
||||
content: "";
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
backdrop-filter: blur(10px) saturate(6);
|
||||
z-index: -1;
|
||||
}
|
||||
|
||||
/* Options panel card title */
|
||||
|
Loading…
x
Reference in New Issue
Block a user