mirror of
https://github.com/zadam/trilium.git
synced 2025-10-20 07:08:55 +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;
|
||||
}
|
||||
|
||||
.dropdown-item span.keyboard-shortcut {
|
||||
.dropdown-item span.keyboard-shortcut,
|
||||
.dropdown-item *:not(.keyboard-shortcut) > kbd {
|
||||
flex-grow: 1;
|
||||
text-align: right;
|
||||
padding-inline-start: 12px;
|
||||
}
|
||||
|
||||
.dropdown-menu kbd {
|
||||
@ -456,8 +458,6 @@ body #context-menu-container .dropdown-item > span {
|
||||
box-shadow: none;
|
||||
padding-bottom: 0;
|
||||
padding: 0;
|
||||
flex-grow: 1;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.dropdown-item,
|
||||
|
@ -154,7 +154,7 @@ body.desktop .dropdown-submenu .dropdown-menu {
|
||||
.dropdown-item,
|
||||
body.mobile .dropdown-submenu .dropdown-toggle {
|
||||
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. */
|
||||
border-radius: 6px;
|
||||
cursor: default !important;
|
||||
|
Loading…
x
Reference in New Issue
Block a user