From a8dbe9baef610bad89118469320475c66ad7c5b6 Mon Sep 17 00:00:00 2001 From: Adorian Doran Date: Fri, 23 May 2025 01:57:58 +0300 Subject: [PATCH] style(next)/formatting toolbar: align to right the last button group of the toolbar --- .../client/src/stylesheets/theme-next/notes/text.css | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/apps/client/src/stylesheets/theme-next/notes/text.css b/apps/client/src/stylesheets/theme-next/notes/text.css index 099ebbfd5..5810627a4 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 {