File tree 3 files changed +10
-8
lines changed
3 files changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ export const ApplicationLayout: React.FC<
48
48
< nav className = "flex flex-col items-center gap-4 px-2 sm:py-4" >
49
49
< Link
50
50
href = "/"
51
- className = "group flex size-9 shrink-0 items-center justify-center gap-2 rounded-full text-lg *:size-9 md:size-8 md:text-base"
51
+ className = "group flex size-9 shrink-0 items-center justify-center gap-2 rounded-full text-lg *:size-6 md:size-8 md:text-base"
52
52
>
53
53
< SupabaseModulesIcon />
54
54
< span className = "sr-only" > Supabase Modules</ span >
@@ -76,11 +76,15 @@ export const ApplicationLayout: React.FC<
76
76
< span className = "sr-only" > Toggle Menu</ span >
77
77
</ Button >
78
78
</ SheetTrigger >
79
- < SheetContent side = "left" className = "sm:max-w-xs" >
79
+ < SheetContent
80
+ onOpenAutoFocus = { ( e ) => e . preventDefault ( ) }
81
+ side = "left"
82
+ className = "sm:max-w-xs"
83
+ >
80
84
< nav className = "grid gap-6 text-lg font-medium" >
81
85
< Link
82
86
href = "/"
83
- className = "group flex size-9 shrink-0 items-center justify-center gap-2 rounded-full text-lg md:size-8 md:text-base"
87
+ className = "group flex size-9 shrink-0 items-center justify-center gap-2 rounded-full text-lg *:size-6 md:size-8 md:text-base"
84
88
>
85
89
< SupabaseModulesIcon />
86
90
< span className = "sr-only" > Supabase Modules</ span >
@@ -127,8 +131,6 @@ const SupabaseModulesIcon: React.FC = () => {
127
131
return (
128
132
< svg
129
133
className = "transition-all group-hover:scale-110"
130
- width = "110"
131
- height = "110"
132
134
viewBox = "0 0 110 110"
133
135
fill = "none"
134
136
xmlns = "http://www.w3.org/2000/svg"
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ const SheetOverlay = React.forwardRef<
21
21
> ( ( { className, ...props } , ref ) => (
22
22
< SheetPrimitive . Overlay
23
23
className = { cn (
24
- "fixed inset-0 z-50 bg-black /80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0" ,
24
+ "fixed inset-0 z-50 bg-white /80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0" ,
25
25
className
26
26
) }
27
27
{ ...props }
@@ -66,7 +66,7 @@ const SheetContent = React.forwardRef<
66
66
>
67
67
{ children }
68
68
< SheetPrimitive . Close className = "absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary" >
69
- < Cross2Icon className = "size-4 " />
69
+ < Cross2Icon className = "size-5 " />
70
70
< span className = "sr-only" > Close</ span >
71
71
</ SheetPrimitive . Close >
72
72
</ SheetPrimitive . Content >
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ const ProfileDropDownComponent: React.FC<{ userId: string }> = ({ userId }) => {
41
41
42
42
if ( profile . isLoading ) {
43
43
return (
44
- < div className = "relative ml-auto flex size-10 shrink-0 animate-pulse overflow-hidden rounded-full bg-muted" />
44
+ < div className = "relative ml-auto flex size-9 animate-pulse overflow-hidden rounded-full bg-muted" />
45
45
)
46
46
}
47
47
You can’t perform that action at this time.
0 commit comments