Resize header login/cart icon buttons to 40px, cart bg to #f1f1f1

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
amirhosein.ashourloo
2026-09-15 19:35:15 +03:30
co-authored by Claude Sonnet 5
parent d090f57540
commit d292bfc74c
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ export function CartButton() {
type="button"
onClick={openPopup}
aria-label="سبد خرید"
className="relative flex h-11 w-11 shrink-0 items-center justify-center rounded-xl bg-surface text-foreground transition-colors hover:text-red"
className="relative flex h-10 w-10 shrink-0 items-center justify-center rounded-xl bg-[#f1f1f1] text-foreground transition-colors hover:text-red"
>
<CartIcon className="h-5 w-5" />
{itemCount > 0 && (
+1 -1
View File
@@ -258,7 +258,7 @@ export function Header({
href={LOGIN_URL}
className="flex items-center gap-2 rounded-xl py-1 pr-1 transition-opacity hover:opacity-80"
>
<span className="flex h-11 w-11 shrink-0 items-center justify-center rounded-xl bg-red text-white">
<span className="flex h-10 w-10 shrink-0 items-center justify-center rounded-xl bg-red text-white">
<UserIcon className="h-5 w-5" />
</span>
<span className="text-right leading-tight">