A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
mobile: fix padding of internal editors on mobile
Ammar Ahmedb6805753286d
diff --git a/packages/editor-mobile/public/index.html b/packages/editor-mobile/public/index.htmlindex b4f045f94..dc393e78f 100644--- a/packages/editor-mobile/public/index.html+++ b/packages/editor-mobile/public/index.html@@ -20,7 +20,7 @@/* color: var(--nn_primary_paragraph) ## TODO: use fixed color */}- .ProseMirror:first-child {+ .main-editor > .ProseMirror:first-child {margin-top: -5px !important;}diff --git a/packages/editor-mobile/src/components/editor.tsx b/packages/editor-mobile/src/components/editor.tsxindex 1337842e0..8c40627de 100644--- a/packages/editor-mobile/src/components/editor.tsx+++ b/packages/editor-mobile/src/components/editor.tsx@@ -774,7 +774,7 @@ const TiptapProvider = (): JSX.Element => {return contentRef.current;}const editorContainer = document.createElement("div");- editorContainer.classList.add("selectable");+ editorContainer.classList.add("selectable", "main-editor");editorContainer.style.flex = "1";editorContainer.style.cursor = "text";editorContainer.style.padding = "0px 12px";