Skip to content

Remove button size increase #1489

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 30, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 15 additions & 7 deletions components/Cart/CartItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,22 @@
<div class="item">
<span class="block mt-2 font-extrabold">Remove: <br /></span>
<span class="item-content">
<nuxt-img
class="mt-2 ml-4 cursor-pointer"
:class="{ removing: isRemoving }"
alt="Remove icon"
aria-label="Remove"
src="/svg/Remove.svg"
<button
type="button"
@click="emitRemove"
/>
:disabled="isRemoving"
class="flex items-center justify-center w-12 h-12 p-2 rounded-full bg-red-50 hover:bg-red-100 focus:outline-none focus:ring-2 focus:ring-red-400 transition disabled:opacity-50"
aria-label="Remove item from cart"
>
<nuxt-img
class="w-7 h-7"
:class="{ removing: isRemoving }"
alt="Remove icon"
src="/svg/Remove.svg"
aria-hidden="true"
draggable="false"
/>
</button>
</span>
</div>
<div class="item">
Expand Down