Skip to content

Build your personal knowledge base with Trilium Notes

fix(ckeditor): keep a menu's rules from collapsing once it scrolls

Elian Doran7da8448a57ae
diff --git a/apps/client/src/stylesheets/theme-next/notes/text.css b/apps/client/src/stylesheets/theme-next/notes/text.css
index 1f94bf4bea..cf39df4164 100644
--- a/apps/client/src/stylesheets/theme-next/notes/text.css
+++ b/apps/client/src/stylesheets/theme-next/notes/text.css
@@ -246,6 +246,7 @@ body.background-effects .ck.ck-balloon-panel.ck-dropdown-menu__nested-menu__pane
/* Separator */
:root .ck .ck-list__separator {
+ flex-shrink: 0;
margin: .5em 0;
margin-inline-start: calc(0px - var(--ck-editor-popup-padding));
width: calc(100% + (var(--ck-editor-popup-padding) * 2));