mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 02:16:05 +01:00 
			
		
		
		
	style/canvas: fix arrowheads picker being improperly positioned
This commit is contained in:
		| @@ -188,12 +188,29 @@ body[dir=rtl] .excalidraw .Island.App-menu__left { | |||||||
| :root .App-menu__left > .panelColumn > fieldset, | :root .App-menu__left > .panelColumn > fieldset, | ||||||
| :root .App-menu__left > .panelColumn > label, | :root .App-menu__left > .panelColumn > label, | ||||||
| :root .App-menu__left > .panelColumn > div:has(> *) { | :root .App-menu__left > .panelColumn > div:has(> *) { | ||||||
|  |     position: relative; | ||||||
|     margin: 0; |     margin: 0; | ||||||
|     border-radius: 4px; |     border-radius: 4px; | ||||||
|     box-shadow: 1px 1px 1px var(--floating-button-shadow-color); |     box-shadow: 1px 1px 1px var(--floating-button-shadow-color); | ||||||
|     background: var(--floating-button-background-color); |     background: var(--floating-button-background-color); | ||||||
|     padding: 8px 12px; |     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); |     backdrop-filter: blur(10px) saturate(6); | ||||||
|  |     z-index: -1; | ||||||
| } | } | ||||||
|  |  | ||||||
| /* Options panel card title */ | /* Options panel card title */ | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user