fix: order of tailwind classes

This commit is contained in:
ner committed 2024-10-05 17:23:37 +03:00
1 parent 5528a84ee7
commit 3b03df3ff5
33 files changed
+135 -1250

No files matched your search

@@ -22,12 +22,12 @@ export const MobileNavigation = () => {
<Menu size={19} />
</Button>
</DropdownMenuTrigger>
<DropdownMenuContent className='w-44 flex flex-col gap-2 p-2'>
<DropdownMenuContent className='flex w-44 flex-col gap-2 p-2'>
{paths.map(({ path, title }) => (
<DropdownMenuItem key={path} asChild>
<Link href={path}>
<div>
<Button className='w-full relative' variant={currentPath === path ? 'default' : 'outline'}>
<Button className='relative w-full' variant={currentPath === path ? 'default' : 'outline'}>
{title}
</Button>
</div>
@@ -38,7 +38,7 @@ export const showSearchModal = create(({ onResolve }) => {
const isFetched = movies.isFetched && series.isFetched;
return (
<Modal className='block p-0 max-w-[932px]' onClose={onResolve} scrollRef={scrollRef}>
<Modal className='block max-w-[932px] p-0' onClose={onResolve} scrollRef={scrollRef}>
<div className='relative p-2'>
<Input
autoFocus
+2 -2
View File
@@ -8,11 +8,11 @@ import ToggleSearch from './components/Search';
import ToggleTheme from './components/ThemeToggle';
const Header: FC = () => (
<header className='flex justify-center bg-background/95 backdrop-blur supports-[backdrop-filter]:bg-background/60 py-2'>
<header className='flex justify-center bg-background/95 py-2 backdrop-blur supports-[backdrop-filter]:bg-background/60'>
<div className='container'>
<div className='flex items-center justify-between gap-2 xs:flex-nowrap'>
<Link shallow href='/'>
<Badge className='whitespace-nowrap cursor-pointer font-normal'>Movie advisor</Badge>
<Badge className='cursor-pointer whitespace-nowrap font-normal'>Movie advisor</Badge>
</Link>
<DesktopNavigation />
<div className='flex items-center gap-2'>