Skip to content

Commit e20242c

Browse files
committed
✨ Minor tweaks
1 parent 552f7d6 commit e20242c

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

www/src/components/home/floatingmenu/extras.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const NavbarExtras: FC = () => {
1212
const windowSize = useWindowSize();
1313
const path = window.location.pathname;
1414
const isMobile = windowSize === "mobile";
15-
const isZett = path.endsWith(ZETTELKASTEN);
15+
const isZett = path.includes(ZETTELKASTEN);
1616
const mobileSidebar = useNavbarMobileSidebar();
1717

1818
return (

www/src/components/ui/link.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ import * as React from "react";
44

55
import { cn } from "@site/src/lib/utils";
66

7-
const linkVariants = cva("no-underline", {
7+
const linkVariants = cva("no-underline!", {
88
variants: {
99
variant: {
1010
default: "transition-all",
11-
menu: "text-(--menu-foreground)! hover:no-underline! hover:bg-(--menu-accent)!",
11+
menu: "text-(--menu-foreground)! hover:no-underline! hover:bg-(--menu-accent)!",
1212
},
1313
},
1414
defaultVariants: {

0 commit comments

Comments
 (0)