@@ -36,14 +36,14 @@ export function Layout({ children, className, style }: Props) {
36
36
< main className = { cx ( "mx-auto h-full max-w-7xl sm:px-4" , className ) } style = { style } >
37
37
< header className = "flex h-24 items-center gap-4 px-4 sm:px-0" >
38
38
< button
39
- className = "md:hidden flex shrink-0 h-10 w-10 items-center justify-center rounded-md border border-gray-300 bg-white focus:border-blue-500 focus:outline-none focus:ring-4 focus:ring-blue-600/25"
39
+ className = "flex h-10 w-10 shrink-0 items-center justify-center rounded-md border border-gray-300 bg-white focus:border-blue-500 focus:outline-none focus:ring-4 focus:ring-blue-600/25 md:hidden "
40
40
onClick = { ( ) => {
41
41
setShowNavigation ( ( s ) => ! s ) ;
42
42
} }
43
43
>
44
- { ! showNavigation && < List className = "w -6 h -6" /> }
44
+ { ! showNavigation && < List className = "h -6 w -6" /> }
45
45
46
- { showNavigation && < X className = "w -6 h -6" /> }
46
+ { showNavigation && < X className = "h -6 w -6" /> }
47
47
</ button >
48
48
49
49
< Link to = "/" >
@@ -63,7 +63,7 @@ export function Layout({ children, className, style }: Props) {
63
63
{ /* TODO: this should probably have a title/tooltip instead that describes what it is since we ain't got a spot for a label */ }
64
64
< span className = "sr-only" > Theme Switcher</ span >
65
65
< SelectTrigger className = "w-min" >
66
- < Sun className = "w-6 h-6 mr-1 " />
66
+ < Sun className = "mr-1 h-6 w-6 " />
67
67
</ SelectTrigger >
68
68
</ div >
69
69
< SelectContent >
@@ -76,13 +76,13 @@ export function Layout({ children, className, style }: Props) {
76
76
</ Select >
77
77
</ header >
78
78
{ showNavigation && (
79
- < div className = "md:hidden absolute bg-card z-50 p-4 bottom- 0 top-24 left-0 right-0 " >
80
- < Navigation className = "h-full scrollbar overflow-auto" />
79
+ < div className = "absolute bottom-0 left-0 right- 0 top-24 z-50 bg-card p-4 md:hidden " >
80
+ < Navigation className = "scrollbar h-full overflow-auto" />
81
81
</ div >
82
82
) }
83
83
< div className = "flex gap-4" >
84
84
< Navigation className = "hidden w-44 pt-9 md:block" />
85
- < article className = "flex-1 bg-card p-4 shadow-2xl sm:rounded-lg md:p-9 w-0 sm:mb-4 lg:mb-9" > { children } </ article >
85
+ < article className = "w-0 flex-1 bg-card p-4 shadow-2xl sm:mb-4 sm: rounded-lg md:p-9 lg:mb-9" > { children } </ article >
86
86
</ div >
87
87
</ main >
88
88
) ;
0 commit comments