Skip to content

Build your personal knowledge base with Trilium Notes

style(next)/formatting toolbar: tweak the default width of the dropdown panels

Adorian Doran0616b241470e
diff --git a/apps/client/src/stylesheets/theme-next/notes/text.css b/apps/client/src/stylesheets/theme-next/notes/text.css
index 759840687c..7913a8acf1 100644
--- a/apps/client/src/stylesheets/theme-next/notes/text.css
+++ b/apps/client/src/stylesheets/theme-next/notes/text.css
@@ -136,6 +136,10 @@
box-shadow: unset;
}
+:root .ck.ck-list__item{
+ min-width: 10em;
+}
+
/* Checked list item */
:root ul.ck.ck-list button.ck-button:hover,
@@ -197,6 +201,12 @@
padding-top: 1em;
}
+/* Heading dropdown */
+
+:root .ck.ck-dropdown.ck-heading-dropdown .ck-dropdown__panel .ck-list__item {
+ min-width: 170px;
+}
+
/* Font size dropdown */
.ck-fontsize-option {