mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-08-10 10:22:29 +08:00
fix(client): broken layouts in editability and note type dropdowns
This commit is contained in:
parent
546274a79d
commit
aecba70efc
@ -8,7 +8,11 @@ const TPL = `
|
||||
.editability-dropdown {
|
||||
width: 300px;
|
||||
}
|
||||
|
||||
|
||||
.editability-dropdown .dropdown-item {
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
.editability-dropdown .dropdown-item div {
|
||||
font-size: small;
|
||||
color: var(--muted-text-color);
|
||||
@ -23,7 +27,7 @@ const TPL = `
|
||||
<a class="dropdown-item" href="#" data-editability="auto">
|
||||
<span class="check">✓</span>
|
||||
${t("editability_select.auto")}
|
||||
<div>${t("editability_select.note_is_editable")}</div>
|
||||
<div>${t("editability_select.note_is_editable")}</div>
|
||||
</a>
|
||||
<a class="dropdown-item" href="#" data-editability="readOnly">
|
||||
<span class="check">✓</span>
|
||||
|
@ -396,7 +396,7 @@ body.desktop .dropdown-menu {
|
||||
color: var(--dropdown-item-icon-destructive-color);
|
||||
}
|
||||
|
||||
.dropdown-item > span:not(.bx) {
|
||||
.dropdown-item > span:not([class]) {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user