Skip to content

Build your personal knowledge base with Trilium Notes

style/canvas: fix a layout glitch

Adorian Doranb6045e0831d3
diff --git a/apps/client/src/stylesheets/theme-next/notes/canvas.css b/apps/client/src/stylesheets/theme-next/notes/canvas.css
index 7f770fab90..fd067adeaf 100644
--- a/apps/client/src/stylesheets/theme-next/notes/canvas.css
+++ b/apps/client/src/stylesheets/theme-next/notes/canvas.css
@@ -101,6 +101,11 @@
align-items: center;
}
+.excalidraw .App-menu.App-menu_top > .selected-shape-actions {
+ /* Fixes a layout glitch with the header when the options panel is visbile */
+ gap: 0;
+}
+
/* The parent element of the "Library" button */
.excalidraw .App-menu.App-menu_top > div:nth-child(3) {
flex-direction: row-reverse;