Skip to content

Commit e39e7bc

Browse files
committed
fix styles on search button hover effect
1 parent a644466 commit e39e7bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/Search/SearchButton.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const SearchButton = forwardRef<HTMLButtonElement, ButtonProps>(
1515
ref={ref}
1616
aria-label={t("aria-toggle-search-button")}
1717
className={cn(
18-
"px-2 transition-transform duration-200 ease-in-out hover:rotate-6 hover:text-primary",
18+
"px-2 ease-in-out [&>svg]:transition-all [&>svg]:duration-500 [&>svg]:hover:rotate-12 [&>svg]:hover:text-primary-hover",
1919
className
2020
)}
2121
variant="ghost"

0 commit comments

Comments
 (0)