@@ -40,17 +40,17 @@ const MobileNavItem = ({ item }: { item: NavigationMenuItemProps }) => {
4040 < div >
4141 < button
4242 onClick = { ( ) => setIsOpen ( ! isOpen ) }
43- className = "flex w-full items-center justify-between px-4 py-2 text-sm font-medium text-foreground hover:bg-accent hover:text-accent-foreground "
43+ className = "text-foreground hover:bg-accent hover:text-accent-foreground flex w-full items-center justify-between px-4 py-2 text-sm font-medium"
4444 >
4545 { item . label }
4646 { isOpen ? (
47- < ChevronUp className = "h-4 w -4" />
47+ < ChevronUp className = "size -4" />
4848 ) : (
49- < ChevronDown className = "h-4 w -4" />
49+ < ChevronDown className = "size -4" />
5050 ) }
5151 </ button >
5252 { isOpen && (
53- < ul className = "ml-4 border-l border-border " >
53+ < ul className = "border-border ml-4 border-l" >
5454 { item . children . map ( ( child , index ) => (
5555 < MobileNavItem key = { index } item = { child } />
5656 ) ) }
@@ -60,7 +60,7 @@ const MobileNavItem = ({ item }: { item: NavigationMenuItemProps }) => {
6060 ) : (
6161 < a
6262 href = { item . href ?? undefined }
63- className = "block w-full px-4 py-2 text-sm font-medium text-foreground hover:bg-accent hover:text-accent-foreground "
63+ className = "text-foreground hover:bg-accent hover:text-accent-foreground block w-full px-4 py-2 text-sm font-medium"
6464 >
6565 { item . label }
6666 </ a >
@@ -108,9 +108,9 @@ export const Header = ({
108108 onClick = { ( ) => setMobileMenuOpen ( ! mobileMenuOpen ) }
109109 >
110110 { mobileMenuOpen ? (
111- < X className = "h-6 w -6" />
111+ < X className = "size -6" />
112112 ) : (
113- < Menu className = "h-6 w -6" />
113+ < Menu className = "size -6" />
114114 ) }
115115 </ MobileMenuButton >
116116 </ div >
0 commit comments