Skip to content

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

mobile: fix loading placeholder

Ammar Ahmed840c7fda5efe
diff --git a/packages/editor-mobile/src/components/editor.tsx b/packages/editor-mobile/src/components/editor.tsx
index 874f19f77..f9a0e01be 100644
--- a/packages/editor-mobile/src/components/editor.tsx
+++ b/packages/editor-mobile/src/components/editor.tsx
@@ -568,8 +568,10 @@ const Tiptap = ({
paddingLeft: 12,
display: "flex",
flexDirection: "column",
- alignItems: "center",
- justifyContent: "center",
+ alignItems: tab.session?.noteLocked ? "center" : "flex-start",
+ justifyContent: tab.session?.noteLocked
+ ? "center"
+ : "flex-start",
boxSizing: "border-box",
rowGap: 10
}}