@@ -126,7 +126,7 @@ function NavItem({url, isActive, children}: any) {
126126 < Link
127127 href = { url }
128128 className = { cn (
129- 'active:scale-95 transition-transform w-full text-center outline-link py-1.5 px-1.5 xs:px-3 sm:px-4 rounded-full capitalize whitespace-nowrap' ,
129+ 'active:scale-95 transition-all w-full text-center outline-link py-1.5 px-1.5 xs:px-3 sm:px-4 rounded-full capitalize whitespace-nowrap' ,
130130 ! isActive && 'hover:bg-primary/5 hover:dark:bg-primary-dark/5' ,
131131 isActive &&
132132 'bg-highlight dark:bg-highlight-dark text-link dark:text-link-dark'
@@ -304,7 +304,7 @@ export default function TopNav({
304304 < button
305305 type = "button"
306306 className = { cn (
307- 'flex 3xl:w-[56rem] 3xl:mx-0 relative ps-4 pe-1 py-1 h-10 bg-gray-30/20 dark:bg-gray-40/20 outline-none focus:outline-link betterhover:hover:bg-opacity-80 pointer items-center text-start w-full text-gray-30 rounded-full align-middle text-base'
307+ 'transition-all flex 3xl:w-[56rem] 3xl:mx-0 relative ps-4 pe-1 py-1 h-10 bg-gray-30/20 dark:bg-gray-40/20 outline-none focus:outline-link betterhover:hover:bg-opacity-80 pointer items-center text-start w-full text-gray-30 rounded-full align-middle text-base'
308308 ) }
309309 onClick = { onOpenSearch } >
310310 < IconSearch className = "align-middle me-3 text-gray-30 shrink-0 group-betterhover:hover:text-gray-70" />
@@ -353,7 +353,7 @@ export default function TopNav({
353353 onClick = { ( ) => {
354354 window . __setPreferredTheme ( 'dark' ) ;
355355 } }
356- className = "flex items-center justify-center w-12 h-12 transition-transform rounded-full active:scale-95 hover:bg-primary/5 hover:dark:bg-primary-dark/5 outline-link" >
356+ className = "transition-all flex items-center justify-center w-12 h-12 rounded-full active:scale-95 hover:bg-primary/5 hover:dark:bg-primary-dark/5 outline-link" >
357357 { darkIcon }
358358 </ button >
359359 </ div >
@@ -364,15 +364,15 @@ export default function TopNav({
364364 onClick = { ( ) => {
365365 window . __setPreferredTheme ( 'light' ) ;
366366 } }
367- className = "flex items-center justify-center w-12 h-12 transition-transform rounded-full active:scale-95 hover:bg-primary/5 hover:dark:bg-primary-dark/5 outline-link" >
367+ className = "flex items-center justify-center w-12 h-12 transition-all rounded-full active:scale-95 hover:bg-primary/5 hover:dark:bg-primary-dark/5 outline-link" >
368368 { lightIcon }
369369 </ button >
370370 </ div >
371371 < div className = "flex" >
372372 < Link
373373 href = "/community/translations"
374374 aria-label = "Translations"
375- className = "active:scale-95 transition-transform flex w-12 h-12 rounded-full items-center justify-center hover:bg-primary/5 hover:dark:bg-primary-dark/5 outline-link" >
375+ className = "active:scale-95 transition-all flex w-12 h-12 rounded-full items-center justify-center hover:bg-primary/5 hover:dark:bg-primary-dark/5 outline-link" >
376376 { languageIcon }
377377 </ Link >
378378 </ div >
@@ -382,7 +382,7 @@ export default function TopNav({
382382 target = "_blank"
383383 rel = "noreferrer noopener"
384384 aria-label = "Open on GitHub"
385- className = "flex items-center justify-center w-12 h-12 transition-transform rounded-full active:scale-95 hover:bg-primary/5 hover:dark:bg-primary-dark/5 outline-link" >
385+ className = "flex items-center justify-center w-12 h-12 transition-all rounded-full active:scale-95 hover:bg-primary/5 hover:dark:bg-primary-dark/5 outline-link" >
386386 { githubIcon }
387387 </ Link >
388388 </ div >
0 commit comments