diff options
| author | Mohamed Bassem <me@mbassem.com> | 2025-03-30 02:20:08 +0000 |
|---|---|---|
| committer | Mohamed Bassem <me@mbassem.com> | 2025-03-30 02:22:45 +0000 |
| commit | e38be878c2ea2f8019ba1b7ba79c23fccdde5b81 (patch) | |
| tree | 61454453d4e9d3619e95afed22f05084eab98a6b | |
| parent | d86f601f554cc34a189643480619f103c47ad732 (diff) | |
| download | karakeep-e38be878c2ea2f8019ba1b7ba79c23fccdde5b81.tar.zst | |
ui(web): Drop the font weight attribute from sidebar items
| -rw-r--r-- | apps/web/components/dashboard/sidebar/AllLists.tsx | 4 | ||||
| -rw-r--r-- | apps/web/components/shared/sidebar/Sidebar.tsx | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/apps/web/components/dashboard/sidebar/AllLists.tsx b/apps/web/components/dashboard/sidebar/AllLists.tsx index 5b4b12bc..f31ced62 100644 --- a/apps/web/components/dashboard/sidebar/AllLists.tsx +++ b/apps/web/components/dashboard/sidebar/AllLists.tsx @@ -33,7 +33,7 @@ export default function AllLists({ const [selectedListId, setSelectedListId] = useState<string | null>(null); return ( - <ul className="max-h-full gap-y-2 overflow-auto text-sm font-medium"> + <ul className="max-h-full gap-y-2 overflow-auto text-sm"> <li className="flex justify-between pb-2 font-bold"> <p>Lists</p> <EditListModal> @@ -99,7 +99,7 @@ export default function AllLists({ <Badge variant="outline" className={cn( - "opacity-100 transition-opacity duration-100 group-hover:opacity-0", + "font-normal opacity-100 transition-opacity duration-100 group-hover:opacity-0", selectedListId == node.item.id || numBookmarks === undefined ? "opacity-0" diff --git a/apps/web/components/shared/sidebar/Sidebar.tsx b/apps/web/components/shared/sidebar/Sidebar.tsx index bd5d23e6..2e3cd9e7 100644 --- a/apps/web/components/shared/sidebar/Sidebar.tsx +++ b/apps/web/components/shared/sidebar/Sidebar.tsx @@ -16,9 +16,9 @@ export default async function Sidebar({ const { t } = await useTranslation(); return ( - <aside className="flex h-[calc(100vh-64px)] w-60 flex-col gap-5 border-r p-4 "> + <aside className="flex h-[calc(100vh-64px)] w-60 flex-col gap-5 border-r p-4"> <div> - <ul className="space-y-2 text-sm font-medium"> + <ul className="space-y-2 text-sm"> {items(t).map((item) => ( <SidebarItem key={item.name} |
