fix(client): broken layouts in editability and note type dropdowns

This commit is contained in:
Elian Doran 2025-01-28 16:18:36 +02:00
parent 546274a79d
commit aecba70efc
No known key found for this signature in database
2 changed files with 7 additions and 3 deletions

View File

@ -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">&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">&check;</span>

View File

@ -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%;
}