Skip to content

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

fix: set minimum height for toolbar

Ammar Ahmed803a66a1cc61
diff --git a/packages/editor-mobile/src/components/editor.tsx b/packages/editor-mobile/src/components/editor.tsx
index 1897bd169..8c8eca26c 100644
--- a/packages/editor-mobile/src/components/editor.tsx
+++ b/packages/editor-mobile/src/components/editor.tsx
@@ -173,13 +173,19 @@ const Tiptap = () => {
</div>
{initialProps.noToolbar ? null : (
- <Toolbar
- sx={{ pl: "10px", pt: "5px" }}
- theme={toolbarTheme}
- editor={editor}
- location="bottom"
- tools={[...settings.tools]}
- />
+ <div
+ style={{
+ minHeight: 50,
+ }}
+ >
+ <Toolbar
+ sx={{ pl: "10px", pt: "5px" }}
+ theme={toolbarTheme}
+ editor={editor}
+ location="bottom"
+ tools={[...settings.tools]}
+ />
+ </div>
)}
</div>
</>