Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

editor: all toolbars should scroll if buttons overflow

Abdullah Atta3566f47f2df7
diff --git a/packages/editor/src/toolbar/components/split-button.tsx b/packages/editor/src/toolbar/components/split-button.tsx
index fd77dc01d..93018d5cc 100644
--- a/packages/editor/src/toolbar/components/split-button.tsx
+++ b/packages/editor/src/toolbar/components/split-button.tsx
@@ -39,7 +39,8 @@ function _SplitButton(props: PropsWithChildren<SplitButtonProps>) {
<Flex
ref={ref}
sx={{
- borderRadius: "default"
+ borderRadius: "default",
+ flexShrink: 0
}}
>
<ToolButton