mirror of
https://github.com/zadam/trilium.git
synced 2025-10-19 22:58:52 +02:00
style/canvas: tweak context menus
This commit is contained in:
parent
9411f44e33
commit
4b4d128856
@ -33,15 +33,17 @@
|
|||||||
|
|
||||||
/* Context menu - outer wrapper */
|
/* Context menu - outer wrapper */
|
||||||
:root .excalidraw .popover {
|
:root .excalidraw .popover {
|
||||||
|
--padding: 0;
|
||||||
|
|
||||||
max-width: unset;
|
max-width: unset;
|
||||||
overflow: hidden !important;
|
overflow: hidden;
|
||||||
padding: 0;
|
|
||||||
font-family: var(--main-font-family);
|
font-family: var(--main-font-family);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Context menu - inner wrapper */
|
/* Context menu - inner wrapper */
|
||||||
:root .excalidraw .popover > .context-menu {
|
:root .excalidraw .popover > .context-menu {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
padding: 8px !important;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
overflow-x: hidden;
|
overflow-x: hidden;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
@ -53,8 +55,9 @@
|
|||||||
|
|
||||||
/* Context menu item */
|
/* Context menu item */
|
||||||
:root .excalidraw .context-menu .context-menu-item {
|
:root .excalidraw .context-menu .context-menu-item {
|
||||||
|
--menu-item-start-padding: 22px;
|
||||||
|
|
||||||
border: 1px solid transparent;
|
border: 1px solid transparent;
|
||||||
padding-left: 16px !important;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Context menu item keyboard shortcut */
|
/* Context menu item keyboard shortcut */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user