Skip to content

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

ui: minor fixes

thecodrr60b540047403
diff --git a/apps/web/src/navigation/index.js b/apps/web/src/navigation/index.js
index ec2ea3345..ec24561ed 100644
--- a/apps/web/src/navigation/index.js
+++ b/apps/web/src/navigation/index.js
@@ -82,7 +82,7 @@ function ThemedComponent(props) {
return (
<ThemeProvider theme={theme}>
<Heading fontSize="heading">{props.route.title}</Heading>
- {props.route.component && props.route.component()}
+ {props.route.component && <props.route.component />}
</ThemeProvider>
);
}
diff --git a/apps/web/src/views/Home.js b/apps/web/src/views/Home.js
index 6150c6e46..251eee946 100644
--- a/apps/web/src/views/Home.js
+++ b/apps/web/src/views/Home.js
@@ -63,12 +63,13 @@ function Home() {
const note = notes[index];
return (
<Box
- bg="navbg"
px={3}
py={3}
sx={{
borderRadius: "default",
marginBottom: 2,
+ borderBottom: "1px solid",
+ borderBottomColor: "navbg",
...ButtonPressedStyle
}}
>
diff --git a/apps/web/src/views/Notebooks.js b/apps/web/src/views/Notebooks.js
index a3f649c8e..6c2d8e45c 100644
--- a/apps/web/src/views/Notebooks.js
+++ b/apps/web/src/views/Notebooks.js
@@ -97,8 +97,14 @@ const CreateNotebookDialog = props => {
color="accent"
py={2}
>
- <Icon.BookOpen size={40} />
- <Text mx={2} as="span" variant="title" textAlign="center">
+ <Icon.BookOpen size={42} />
+ <Text
+ mx={2}
+ as="span"
+ variant="title"
+ fontSize={28}
+ textAlign="center"
+ >
Notebook
</Text>
</Flex>