File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 (
Original file line number Diff line number Diff line change @@ -4,11 +4,11 @@ import * as React from "react";
44
55import { 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 : {
You can’t perform that action at this time.
0 commit comments