@@ -47,15 +47,15 @@ const SortableItem = ({
4747 < div className = "flex items-center justify-between gap-x-2" >
4848 < div className = "flex items-center gap-x-2" >
4949 < div
50- className = "hover:bg-background-3 cursor-grab rounded p-1 active:cursor-grabbing"
50+ className = "cursor-grab rounded p-1 hover:bg-background-3 active:cursor-grabbing"
5151 { ...attributes }
5252 { ...listeners }
5353 >
5454 < Icon className = "text-icons-1" name = "grid-dots" size = { 12 } />
5555 </ div >
5656
5757 < DropdownMenu >
58- < DropdownMenuTrigger className = "border-borders-1 text-14 text-foreground-8 flex h-6 items-center gap-x-1.5 rounded border pl-2.5 pr-1.5" >
58+ < DropdownMenuTrigger className = "flex h-6 items-center gap-x-1.5 rounded border border-borders-1 pl-2.5 pr-1.5 text-14 text-foreground-8 " >
5959 { sortOptions . find ( opt => opt . value === sort . type ) ?. label }
6060 < Icon className = "chevron-down text-icons-1" name = "chevron-down" size = { 10 } />
6161 </ DropdownMenuTrigger >
@@ -72,7 +72,7 @@ const SortableItem = ({
7272 </ DropdownMenu >
7373
7474 < DropdownMenu >
75- < DropdownMenuTrigger className = "border-borders-1 text-14 text-foreground-8 flex h-6 items-center gap-x-1.5 rounded border pl-2.5 pr-1.5" >
75+ < DropdownMenuTrigger className = "flex h-6 items-center gap-x-1.5 rounded border border-borders-1 pl-2.5 pr-1.5 text-14 text-foreground-8 " >
7676 { sortDirections . find ( dir => dir . value === sort . direction ) ?. label }
7777 < Icon className = "chevron-down text-icons-1" name = "chevron-down" size = { 10 } />
7878 </ DropdownMenuTrigger >
@@ -90,7 +90,7 @@ const SortableItem = ({
9090 </ div >
9191
9292 < button
93- className = "text-foreground-4 hover: text-foreground-1 p-1 transition-colors duration-200 focus:bg-transparent"
93+ className = "p-1 text-foreground-4 transition-colors duration-200 hover:text-foreground-1 focus:bg-transparent"
9494 onClick = { e => {
9595 e . preventDefault ( )
9696 onRemoveSort ?.( index )
@@ -152,7 +152,7 @@ const Sorts = ({
152152
153153 return (
154154 < DropdownMenu open = { isOpen } onOpenChange = { setIsOpen } >
155- < DropdownMenuTrigger className = "bg-background-3 hover:bg-background-8 flex h-8 items-center gap-x-3 whitespace-nowrap rounded px-2.5 transition-colors duration-200" >
155+ < DropdownMenuTrigger className = "flex h-8 items-center gap-x-3 whitespace-nowrap rounded bg-background-3 px-2.5 transition-colors duration-200 hover:bg-background-8 " >
156156 < div className = "flex items-center gap-x-1" >
157157 < Icon
158158 className = { cn ( 'text-icons-1' , getSortTriggerLabel ( activeSorts , sortOptions ) . isDescending && 'rotate-180' ) }
@@ -190,12 +190,12 @@ const Sorts = ({
190190 < div className = "mt-3 flex flex-col gap-y-2.5" >
191191 { sortOptions . some ( option => ! activeSorts . some ( sort => sort . type === option . value ) ) && (
192192 < DropdownMenu >
193- < DropdownMenuTrigger className = "text-14 text-foreground-4 hover:text-foreground-1 flex w-full items-center gap-x-1.5 transition-colors duration-200" >
193+ < DropdownMenuTrigger className = "flex w-full items-center gap-x-1.5 text-14 text-foreground-4 transition-colors duration-200 hover:text-foreground-1 " >
194194 < Icon name = "plus" size = { 12 } />
195195 Add sort
196196 </ DropdownMenuTrigger >
197197 < DropdownMenuContent className = "min-w-[224px] p-0" align = "start" >
198- < div className = "border-borders-4 relative flex items-center justify-between border-b px-3 py-2.5" >
198+ < div className = "relative flex items-center justify-between border-b border-borders-4 px-3 py-2.5" >
199199 < DropdownMenuItem className = "hover:bg-transparent focus:bg-transparent" asChild >
200200 < Input
201201 type = "text"
@@ -210,7 +210,7 @@ const Sorts = ({
210210 { searchQueries . menu [ 'sort' ] && (
211211 < DropdownMenuItem className = "absolute right-3 hover:bg-transparent focus:bg-transparent" asChild >
212212 < button
213- className = "text-foreground-4 hover:text-foreground-1 flex transition-colors duration-200"
213+ className = "flex text-foreground-4 transition-colors duration-200 hover:text-foreground-1 "
214214 onClick = { e => {
215215 e . preventDefault ( )
216216 handleSearchChange ( 'sort' , '' , 'menu' )
@@ -239,7 +239,7 @@ const Sorts = ({
239239
240240 { filteredBySearchSortOptions . length === 0 && (
241241 < div className = "flex items-center justify-center p-4" >
242- < span className = "text-1 text-foreground-2 leading-none " > No results</ span >
242+ < span className = "text-1 leading-none text-foreground-2" > No results</ span >
243243 </ div >
244244 ) }
245245 </ div >
@@ -248,10 +248,10 @@ const Sorts = ({
248248 ) }
249249
250250 < DropdownMenuItem
251- className = "text-foreground-4 focus: text-foreground-danger data-[highlighted]:text-foreground-danger p-0 transition-colors duration-200 focus:bg-transparent focus:outline-none data-[highlighted]:bg-transparent"
251+ className = "p-0 text-foreground-4 transition-colors duration-200 focus:bg-transparent focus:text-foreground-danger focus: outline-none data-[highlighted]:bg-transparent data-[highlighted]:text-foreground-danger "
252252 asChild
253253 >
254- < button className = "text-14 flex items-center gap-x-1.5" onClick = { handleResetSorts } >
254+ < button className = "flex items-center gap-x-1.5 text-14 " onClick = { handleResetSorts } >
255255 < Icon name = "trash" size = { 12 } />
256256 Delete sort
257257 </ button >
0 commit comments