Skip to content

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

fix: better selection indicator in navigation menu

thecodrr3f4baf403154
diff --git a/apps/web/src/components/navigation-menu/navigation-item.js b/apps/web/src/components/navigation-menu/navigation-item.js
index 06efda146..8871f2d89 100644
--- a/apps/web/src/components/navigation-menu/navigation-item.js
+++ b/apps/web/src/components/navigation-menu/navigation-item.js
@@ -44,8 +44,9 @@ function NavigationItem(props) {
whiteSpace: "nowrap",
overflow: "hidden",
textOverflow: "ellipsis",
+ fontWeight: props.selected ? "bold" : "normal",
}}
- color={props.selected ? "primary" : "text"}
+ color={props.selected ? (!!color ? color : "primary") : "text"}
ml={1}
>
{title}