Skip to content

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

editor(mobile): fix ui for new custom action sheet

Abdullah Atta343920d37671
diff --git a/packages/editor-mobile/src/components/header.tsx b/packages/editor-mobile/src/components/header.tsx
index af038651b..549e735db 100644
--- a/packages/editor-mobile/src/components/header.tsx
+++ b/packages/editor-mobile/src/components/header.tsx
@@ -110,7 +110,7 @@ function Header({
backgroundColor: "var(--nn_primary_background)",
position: "sticky",
width: "100vw",
- zIndex: 99999
+ zIndex: 999
}}
>
{noHeader ? null : (
diff --git a/packages/editor-mobile/src/index.css b/packages/editor-mobile/src/index.css
index 7fe061cff..1d261a323 100644
--- a/packages/editor-mobile/src/index.css
+++ b/packages/editor-mobile/src/index.css
@@ -7,6 +7,11 @@ body {
-moz-osx-font-smoothing: grayscale;
}
+html,
+body {
+ overscroll-behavior: none;
+}
+
code {
font-family: source-code-pro, Menlo, Monaco, Consolas, "Courier New",
monospace;