mirror of
https://github.com/zadam/trilium.git
synced 2025-10-21 15:49:00 +02:00
style: fix the spacing of the keyboard shortcuts in menu items
This commit is contained in:
parent
891e6b9751
commit
42a082f11b
@ -444,9 +444,11 @@ body #context-menu-container .dropdown-item > span {
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.dropdown-item span.keyboard-shortcut {
|
.dropdown-item span.keyboard-shortcut,
|
||||||
|
.dropdown-item *:not(.keyboard-shortcut) > kbd {
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
text-align: right;
|
text-align: right;
|
||||||
|
padding-inline-start: 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.dropdown-menu kbd {
|
.dropdown-menu kbd {
|
||||||
@ -456,8 +458,6 @@ body #context-menu-container .dropdown-item > span {
|
|||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
padding-bottom: 0;
|
padding-bottom: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
flex-grow: 1;
|
|
||||||
text-align: right;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.dropdown-item,
|
.dropdown-item,
|
||||||
|
@ -154,7 +154,7 @@ body.desktop .dropdown-submenu .dropdown-menu {
|
|||||||
.dropdown-item,
|
.dropdown-item,
|
||||||
body.mobile .dropdown-submenu .dropdown-toggle {
|
body.mobile .dropdown-submenu .dropdown-toggle {
|
||||||
padding: 2px 2px 2px 8px !important;
|
padding: 2px 2px 2px 8px !important;
|
||||||
padding-inline-end: 16px !important;
|
padding-inline-end: 22px !important;
|
||||||
/* Note: the right padding should also accommodate the submenu arrow. */
|
/* Note: the right padding should also accommodate the submenu arrow. */
|
||||||
border-radius: 6px;
|
border-radius: 6px;
|
||||||
cursor: default !important;
|
cursor: default !important;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user