From 65f425df2c48dadd332025dd8d4260b0118df833 Mon Sep 17 00:00:00 2001 From: Adorian Doran Date: Mon, 15 Dec 2025 01:37:36 +0200 Subject: [PATCH] style/status bar/note paths: fix an issue pointed by gemini-code-assist --- apps/client/src/widgets/layout/StatusBar.css | 8 ++++---- apps/client/src/widgets/ribbon/NotePathsTab.tsx | 8 ++++++-- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/apps/client/src/widgets/layout/StatusBar.css b/apps/client/src/widgets/layout/StatusBar.css index bc37b6542..f3bdb5b9f 100644 --- a/apps/client/src/widgets/layout/StatusBar.css +++ b/apps/client/src/widgets/layout/StatusBar.css @@ -130,10 +130,6 @@ font-size: .85em; color: var(--menu-item-icon-color); } - - span:last-of-type > span > a { - color: var(--muted-text-color); - } } a { @@ -142,6 +138,10 @@ color: currentColor; font-weight: normal; text-decoration: none; + + &.basename { + color: var(--muted-text-color); + } } } diff --git a/apps/client/src/widgets/ribbon/NotePathsTab.tsx b/apps/client/src/widgets/ribbon/NotePathsTab.tsx index 090be0e66..19b361a5d 100644 --- a/apps/client/src/widgets/ribbon/NotePathsTab.tsx +++ b/apps/client/src/widgets/ribbon/NotePathsTab.tsx @@ -8,6 +8,7 @@ import NoteLink from "../react/NoteLink"; import { joinElements } from "../react/react_utils"; import { TabContext } from "./ribbon-interface"; import LinkButton from "../react/LinkButton"; +import clsx from "clsx"; export default function NotePathsTab({ note, hoistedNoteId, notePath }: TabContext) { @@ -109,8 +110,11 @@ function NotePath({ currentNotePath, notePathRecord }: { currentNotePath?: strin return (
  • - {joinElements(fullNotePaths.map(notePath => ( - + {joinElements(fullNotePaths.map((notePath, index, arr) => ( + )), NOTE_PATH_TITLE_SEPARATOR)} {icons.map(({ icon, title }) => (