Skip to content

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

fix: incorrect padding of popup toolbars

thecodrr0caf41b8b79d
diff --git a/packages/editor/src/toolbar/components/more-tools.tsx b/packages/editor/src/toolbar/components/more-tools.tsx
index dafc1682e..3842586c8 100644
--- a/packages/editor/src/toolbar/components/more-tools.tsx
+++ b/packages/editor/src/toolbar/components/more-tools.tsx
@@ -48,7 +48,10 @@ export function MoreTools(props: MoreToolsProps) {
editor={editor}
sx={{
flex: 1,
- p: 1,
+ // this is intentionally set to a fixed value
+ // because we want the same padding on mobile
+ // and web.
+ p: "5px",
boxShadow: "menu",
bg: "background",
borderRadius: "default",