Skip to content

Build your personal knowledge base with Trilium Notes

client/content manager: tweak UI

Adorian Doran70db5a2d3cfe
diff --git a/apps/client/src/widgets/dialogs/PopupEditor.css b/apps/client/src/widgets/dialogs/PopupEditor.css
index 951c2fed35..509c4b4f1f 100644
--- a/apps/client/src/widgets/dialogs/PopupEditor.css
+++ b/apps/client/src/widgets/dialogs/PopupEditor.css
@@ -57,7 +57,6 @@ body.mobile .modal.popup-editor-dialog .modal-dialog {
align-items: center;
}
-/* An attachment has no editable title, so its header is plain text aligned like the note title. */
.modal.popup-editor-dialog .modal-header .title-row.attachment-title-row {
gap: 8px;
diff --git a/apps/client/src/widgets/type_widgets/options/content_manager/index.css b/apps/client/src/widgets/type_widgets/options/content_manager/index.css
index babb31d12a..300666f3f7 100644
--- a/apps/client/src/widgets/type_widgets/options/content_manager/index.css
+++ b/apps/client/src/widgets/type_widgets/options/content_manager/index.css
@@ -5,6 +5,12 @@
margin-inline-end: auto;
}
+/* Full width: the split resolves the cap for tabs, the header inner for the settings dialog. */
+.note-split.options:has(.content-manager-section-switcher),
+.note-detail-content-widget-content:has(.content-manager-section-switcher) {
+ --options-card-max-width: 100%;
+}
+
/* Each section's own view choice reads as secondary to the section switch above it. Set on the
buttons, which carry their own font size and so would not inherit one from the group. */
.content-manager-view-choice button {
diff --git a/apps/client/src/widgets/type_widgets/options/content_manager/space_usage/index.css b/apps/client/src/widgets/type_widgets/options/content_manager/space_usage/index.css
index b5932bc5fc..7b54ade0c2 100644
--- a/apps/client/src/widgets/type_widgets/options/content_manager/space_usage/index.css
+++ b/apps/client/src/widgets/type_widgets/options/content_manager/space_usage/index.css
@@ -27,6 +27,10 @@
gap: 0.5em;
}
+.space-usage-section:has(.space-usage-overview) .options-page-header {
+ margin-bottom: 0;
+}
+
.space-usage-section {
display: flex;
flex: 1 1 auto;
@@ -48,7 +52,7 @@
justify-content: center;
gap: 0.6em;
color: var(--muted-text-color);
- font-size: 0.85em;
+ font-size: 0.75em;
}
.space-usage-status-separator {