File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ export default function Header() {
39
39
< div className = "mx-1 flex items-center gap-2" >
40
40
< div
41
41
className = { `flex items-center gap-2 ${
42
- ! isSmallScreen ? 'transition-all duration-500 ease-in-out' : ''
42
+ ! isSmallScreen ? 'transition-all duration-200 ease-in-out' : ''
43
43
} ${
44
44
! navVisible
45
45
? 'translate-x-0 opacity-100'
@@ -51,7 +51,7 @@ export default function Header() {
51
51
</ div >
52
52
< div
53
53
className = { `flex items-center gap-2 ${
54
- ! isSmallScreen ? 'transition-all duration-500 ease-in-out' : ''
54
+ ! isSmallScreen ? 'transition-all duration-200 ease-in-out' : ''
55
55
} ${ ! navVisible ? 'translate-x-0' : 'translate-x-[-100px]' } `}
56
56
>
57
57
< ModelSelector startupConfig = { startupConfig } />
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ const NavMask = memo(
30
30
id = "mobile-nav-mask-toggle"
31
31
role = "button"
32
32
tabIndex = { 0 }
33
- className = { `nav-mask transition-opacity duration-500 ease-in-out ${ navVisible ? 'active opacity-100' : 'opacity-0' } ` }
33
+ className = { `nav-mask transition-opacity duration-200 ease-in-out ${ navVisible ? 'active opacity-100' : 'opacity-0' } ` }
34
34
onClick = { toggleNavVisible }
35
35
onKeyDown = { ( e ) => {
36
36
if ( e . key === 'Enter' || e . key === ' ' ) {
@@ -186,7 +186,7 @@ const Nav = memo(
186
186
< div
187
187
data-testid = "nav"
188
188
className = { cn (
189
- 'nav active max-w-[320px] flex-shrink-0 transform overflow-x-hidden bg-surface-primary-alt transition-all duration-500 ease-in-out' ,
189
+ 'nav active max-w-[320px] flex-shrink-0 transform overflow-x-hidden bg-surface-primary-alt transition-all duration-200 ease-in-out' ,
190
190
'md:max-w-[260px]' ,
191
191
) }
192
192
style = { {
@@ -197,7 +197,7 @@ const Nav = memo(
197
197
< div className = "h-full w-[320px] md:w-[260px]" >
198
198
< div className = "flex h-full flex-col" >
199
199
< div
200
- className = { `flex h-full flex-col transition-opacity duration-500 ease-in-out ${ navVisible ? 'opacity-100' : 'opacity-0' } ` }
200
+ className = { `flex h-full flex-col transition-opacity duration-200 ease-in-out ${ navVisible ? 'opacity-100' : 'opacity-0' } ` }
201
201
>
202
202
< div className = "flex h-full flex-col" >
203
203
< nav
You can’t perform that action at this time.
0 commit comments