Skip to content

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

mobile: fix editor padding

Ammar Ahmed3efa1140b2ec
diff --git a/packages/editor-mobile/public/index.html b/packages/editor-mobile/public/index.html
index 879142614..b4f045f94 100644
--- a/packages/editor-mobile/public/index.html
+++ b/packages/editor-mobile/public/index.html
@@ -20,6 +20,10 @@
/* color: var(--nn_primary_paragraph) ## TODO: use fixed color */
}
+ .ProseMirror:first-child {
+ margin-top: -5px !important;
+ }
+
::selection {
color: white;
background-color: var(--nn_primary_accent);
diff --git a/packages/editor-mobile/src/components/statusbar.tsx b/packages/editor-mobile/src/components/statusbar.tsx
index ad29b31d6..c0e2d5960 100644
--- a/packages/editor-mobile/src/components/statusbar.tsx
+++ b/packages/editor-mobile/src/components/statusbar.tsx
@@ -120,7 +120,7 @@ function StatusBar({
backgroundColor: "var(--nn_primary_background)",
zIndex: 1,
justifyContent: sticky ? "center" : "flex-start",
- paddingTop: 2,
+ paddingTop: 4,
paddingBottom: 2
}}
id="statusbar"