Skip to content

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

fix: horizontal dropdown is not centered

thecodrr71710027d25d
diff --git a/packages/editor/src/toolbar/components/dropdown.tsx b/packages/editor/src/toolbar/components/dropdown.tsx
index 81d05467a..fac25e8d2 100644
--- a/packages/editor/src/toolbar/components/dropdown.tsx
+++ b/packages/editor/src/toolbar/components/dropdown.tsx
@@ -80,6 +80,7 @@ export function Dropdown(props: DropdownProps) {
marginRight: isBottom ? "10px" : 0,
display: "flex",
alignItems: isBottom ? "center" : "unset",
+ mr: isBottom ? 0 : 2,
}}
/>
</>