mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 10:26:08 +01:00 
			
		
		
		
	style/canvas: tweak the header region of the UI
This commit is contained in:
		| @@ -26,7 +26,7 @@ | ||||
| } | ||||
|  | ||||
| :root .type-canvas { | ||||
|     --floating-buttons-vert-offset: 48px; | ||||
|     --floating-buttons-vert-offset: 20px; | ||||
| } | ||||
|  | ||||
| /* Context menus */ | ||||
| @@ -95,6 +95,17 @@ | ||||
|     margin: 0 !important; | ||||
| } | ||||
|  | ||||
| /* Header */ | ||||
|  | ||||
| .excalidraw .App-menu.App-menu_top { | ||||
|     align-items: center; | ||||
| } | ||||
|  | ||||
| /* The parent element of the "Library" button  */ | ||||
| .excalidraw .App-menu.App-menu_top > div:nth-child(3) { | ||||
|     flex-direction: row-reverse; | ||||
| } | ||||
|  | ||||
| /* Panels */ | ||||
|  | ||||
| .excalidraw .Island:not(.App-menu__left), | ||||
| @@ -176,3 +187,10 @@ body[dir=ltr] .excalidraw .exc-stats { | ||||
| body[dir=ltr] .excalidraw .exc-stats { | ||||
|     right: 0; | ||||
| } | ||||
|  | ||||
| /* Sidebar */ | ||||
|  | ||||
| .split-note-container-widget > .component.type-canvas:has(.excalidraw-container > .Island.default-sidebar) > .floating-buttons { | ||||
|     /* Hide the floating buttons when the sidebar is open */ | ||||
|     display: none; | ||||
| } | ||||
		Reference in New Issue
	
	Block a user