Skip to content

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

editor: fix toolbar buttons alignment (#2876)

Ammar Ahmeda51dfb403318
diff --git a/packages/editor/src/toolbar/components/split-button.tsx b/packages/editor/src/toolbar/components/split-button.tsx
index 93018d5cc..484fe30da 100644
--- a/packages/editor/src/toolbar/components/split-button.tsx
+++ b/packages/editor/src/toolbar/components/split-button.tsx
@@ -40,7 +40,8 @@ function _SplitButton(props: PropsWithChildren<SplitButtonProps>) {
ref={ref}
sx={{
borderRadius: "default",
- flexShrink: 0
+ flexShrink: 0,
+ alignItems: "center"
}}
>
<ToolButton