Skip to content

Build your personal knowledge base with Trilium Notes

style(next)/formatting toolbar: align to right the last button group of the toolbar

Adorian Dorana8dbe9baef61
diff --git a/apps/client/src/stylesheets/theme-next/notes/text.css b/apps/client/src/stylesheets/theme-next/notes/text.css
index 099ebbfd5c..5810627a4b 100644
--- a/apps/client/src/stylesheets/theme-next/notes/text.css
+++ b/apps/client/src/stylesheets/theme-next/notes/text.css
@@ -211,6 +211,18 @@
padding-top: 1em;
}
+/* Toolbar separators */
+
+:root .ck.ck-toolbar .ck.ck-toolbar__separator {
+ background: transparent;
+ border-left: 1px solid var(--ck-color-toolbar-border);
+}
+
+/* The last separator of the toolbar */
+:root .classic-toolbar-widget .ck.ck-toolbar__separator:last-of-type {
+ flex-grow: 1;
+}
+
/* Heading dropdown */
:root .ck.ck-dropdown.ck-heading-dropdown .ck-dropdown__panel .ck-list__item {