mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-08-10 10:22:29 +08:00
style(next): note revisions dialog: fix the list appeareance
This commit is contained in:
parent
e1850281e5
commit
f2021f8ca1
@ -956,7 +956,7 @@ body.mobile .note-title {
|
|||||||
* supported when this class is used.
|
* supported when this class is used.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
.dropdown-menu {
|
.dropdown-menu:not(.static) {
|
||||||
border-radius: var(--dropdown-border-radius);
|
border-radius: var(--dropdown-border-radius);
|
||||||
padding: var(--menu-padding-size) !important;
|
padding: var(--menu-padding-size) !important;
|
||||||
font-size: 0.9rem !important;
|
font-size: 0.9rem !important;
|
||||||
@ -1088,6 +1088,20 @@ html body .dropdown-item[disabled] {
|
|||||||
color: var(--menu-item-arrow-color) !important;
|
color: var(--menu-item-arrow-color) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Static menus (used as a list, such as on the note revisions dialog) */
|
||||||
|
body.desktop .dropdown-menu.static {
|
||||||
|
box-shadow: unset;
|
||||||
|
border-radius: 4px;
|
||||||
|
border: unset;
|
||||||
|
background-color: var(--card-background-color) !important;
|
||||||
|
padding: var(--menu-padding-size) !important;
|
||||||
|
user-select: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
body.desktop .dropdown-menu.static .dropdown-item.active {
|
||||||
|
--active-item-text-color: var(--menu-text-color);
|
||||||
|
}
|
||||||
|
|
||||||
body.desktop .dropdown-menu .dropdown-toggle::after {
|
body.desktop .dropdown-menu .dropdown-toggle::after {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user