From 4b4d128856ee0d769aa89bfed7e02370676e346c Mon Sep 17 00:00:00 2001 From: Adorian Doran Date: Wed, 15 Oct 2025 17:24:50 +0300 Subject: [PATCH] style/canvas: tweak context menus --- apps/client/src/stylesheets/theme-next/notes/canvas.css | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/apps/client/src/stylesheets/theme-next/notes/canvas.css b/apps/client/src/stylesheets/theme-next/notes/canvas.css index cff79acef..14da56c52 100644 --- a/apps/client/src/stylesheets/theme-next/notes/canvas.css +++ b/apps/client/src/stylesheets/theme-next/notes/canvas.css @@ -33,15 +33,17 @@ /* Context menu - outer wrapper */ :root .excalidraw .popover { + --padding: 0; + max-width: unset; - overflow: hidden !important; - padding: 0; + overflow: hidden; font-family: var(--main-font-family); } /* Context menu - inner wrapper */ :root .excalidraw .popover > .context-menu { margin: 0; + padding: 8px !important; overflow-y: auto; overflow-x: hidden; height: 100%; @@ -53,8 +55,9 @@ /* Context menu item */ :root .excalidraw .context-menu .context-menu-item { + --menu-item-start-padding: 22px; + border: 1px solid transparent; - padding-left: 16px !important; } /* Context menu item keyboard shortcut */