style/canvas: tweak context menus

This commit is contained in:
Adorian Doran 2025-10-15 17:24:50 +03:00
parent 9411f44e33
commit 4b4d128856

View File

@ -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 */