Skip to content

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

web: fix padding at bottom on opening a nested notebook

Abdullah Atta18c460a8b26e
diff --git a/apps/web/src/index.html b/apps/web/src/index.html
index 83464258b..01b23683f 100644
--- a/apps/web/src/index.html
+++ b/apps/web/src/index.html
@@ -183,7 +183,10 @@
<!-- <script src="https://cdn.jsdelivr.net/npm/[email protected]/highlight.pack.min.js"></script>
-->
<div id="root"></div>
- <svg xmlns="http://www.w3.org/2000/svg">
+ <svg
+ xmlns="http://www.w3.org/2000/svg"
+ style="height: 0; width: 0; z-index: -1; position: absolute"
+ >
<defs>
<linearGradient
xlink:href="#a"
diff --git a/apps/web/src/views/notebook.tsx b/apps/web/src/views/notebook.tsx
index 278caa375..585b64811 100644
--- a/apps/web/src/views/notebook.tsx
+++ b/apps/web/src/views/notebook.tsx
@@ -481,7 +481,7 @@ function NotebookHeader({
<Flex
data-test-id="notebook-header"
mx={2}
- my={2}
+ mb={2}
sx={{ flexDirection: "column", minWidth: 200 }}
>
<Flex sx={{ alignItems: "center", mb: 1 }}>