Skip to content

Commit

Permalink
Merge pull request #8145 from Jarsen136/issue-8142
Browse files Browse the repository at this point in the history
  • Loading branch information
yangwao authored Nov 23, 2023
2 parents 7dd2aca + 955a591 commit 1ae87db
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,12 @@
</div>

<NeoButton
class="button-height no-border-left"
class="button-height square-button-width no-border-left"
data-testid="item-add-to-cart"
@click="onClickShoppingCart">
<NeoIcon
size="medium"
class="icon"
:icon="
shoppingCartStore.isItemInCart(nft.id)
? 'fa-striked-out-cart-shopping'
Expand Down Expand Up @@ -103,6 +104,9 @@ const onClickShoppingCart = () => {
height: 55px !important;
}
.square-button-width {
width: 55px;
}
.buy-button-width {
width: 10rem;
Expand Down
1 change: 1 addition & 0 deletions components/items/ItemsGrid/ItemsGridImage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
class="fixed-width p-1 no-border-left btn-height override-wrapper-width"
@click.prevent="onClickShoppingCart">
<NeoIcon
class="icon"
:icon="
shoppingCartStore.isItemInCart(nft.id)
? 'fa-striked-out-cart-shopping'
Expand Down
1 change: 1 addition & 0 deletions components/items/ItemsGrid/ItemsGridImageTokenEntity.vue
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
class="fixed-width p-1 no-border-left btn-height override-wrapper-width"
@click.prevent="onClickShoppingCart">
<NeoIcon
class="icon"
:icon="
shoppingCartStore.isItemInCart(nftForShoppingCart.id)
? 'fa-striked-out-cart-shopping'
Expand Down

0 comments on commit 1ae87db

Please sign in to comment.