File tree Expand file tree Collapse file tree 2 files changed +9
-12
lines changed Expand file tree Collapse file tree 2 files changed +9
-12
lines changed Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ export const AccentColorSelector: React.FC = () => {
75
75
</ TooltipTrigger >
76
76
< TooltipContent
77
77
side = "left"
78
- sideOffset = "0"
78
+ sideOffset = { 0 }
79
79
className = "bg-muted text-foreground" >
80
80
{ option . colorName }
81
81
< Arrow className = "fill-muted" width = { 12 } height = { 6 } />
Original file line number Diff line number Diff line change 1
1
import React from 'react' ;
2
2
3
- import {
4
- Sheet ,
5
- SheetContent ,
6
- SheetTitle ,
7
- SheetTrigger ,
8
- } from './ui/sheet' ;
3
+ import { Sheet , SheetContent , SheetTitle , SheetTrigger } from './ui/sheet' ;
9
4
10
5
import {
11
6
NavigationMenu ,
12
7
NavigationMenuList ,
13
8
NavigationMenuItem ,
14
- NavigationMenuTrigger ,
15
9
NavigationMenuLink ,
16
10
} from './ui/navigation-menu' ;
17
11
@@ -27,8 +21,11 @@ const MainNavButtons: React.FC = () => {
27
21
< NavigationMenuList className = "flex w-full flex-col items-start justify-start space-x-0" >
28
22
{ mainLinks . map ( ( link ) => (
29
23
< NavigationMenuItem key = { link . name } className = "w-full" >
30
- < NavigationMenuLink href = { link . href } className = "" >
31
- < Button variant = "ghost" className = "h-9 w-full justify-start px-3" >
24
+ < NavigationMenuLink href = { link . href } className = "rounded-md" >
25
+ < Button
26
+ tabIndex = { - 1 }
27
+ variant = "ghost"
28
+ className = "h-9 w-full justify-start px-3" >
32
29
{ React . createElement ( link . icon , {
33
30
className : iconStyles ,
34
31
} ) }
@@ -50,7 +47,7 @@ const ProjectNavButtons: React.FC = () => {
50
47
< NavigationMenuList className = "flex w-full flex-col items-start justify-start space-x-0" >
51
48
{ projectLinks . map ( ( project ) => (
52
49
< NavigationMenuItem key = { project . name } className = "w-full" >
53
- < NavigationMenuLink href = { project . href } className = "" >
50
+ < NavigationMenuLink href = { project . href } className = "rounded-md " >
54
51
< Button
55
52
tabIndex = { - 1 }
56
53
variant = "link"
@@ -89,4 +86,4 @@ export const SideMenu: React.FC = () => {
89
86
</ SheetContent >
90
87
</ Sheet >
91
88
) ;
92
- }
89
+ } ;
You can’t perform that action at this time.
0 commit comments