Skip to content

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

fix: adjust notebook indicator size

thecodrr0c652f659c40
diff --git a/apps/web/src/components/icons/index.js b/apps/web/src/components/icons/index.js
index 5c399f2bd..48839b01d 100644
--- a/apps/web/src/components/icons/index.js
+++ b/apps/web/src/components/icons/index.js
@@ -3,12 +3,12 @@ import MDIIcon from "@mdi/react";
import * as Icons from "@mdi/js";
import { useTheme } from "emotion-theming";
import Animated from "../animated";
-import useMobile from "../../utils/use-mobile";
+//import useMobile from "../../utils/use-mobile";
function Icon({ name, size = 24, color = "icon", stroke, rotate }) {
const theme = useTheme();
- const isMobile = useMobile();
- size += isMobile ? 4 : 0;
+ // const isMobile = useMobile();
+ //size += isMobile ? 4 : 0;
return (
<MDIIcon
diff --git a/apps/web/src/components/note/index.js b/apps/web/src/components/note/index.js
index d5efa8444..5a5e02663 100644
--- a/apps/web/src/components/note/index.js
+++ b/apps/web/src/components/note/index.js
@@ -148,7 +148,12 @@ function Note(props) {
justifyContent="center"
>
<Icon.Notebook size={12} color={color ? color : "primary"} />
- <Text variant="subBody" fontWeight="600" ml={"3px"}>
+ <Text
+ variant="subBody"
+ color={color ? color : "primary"}
+ fontWeight="600"
+ ml={"3px"}
+ >
{notebook.title}
</Text>
</Flex>