Skip to content

Commit

Permalink
Merge pull request #11442 from Jarsen136/issue-11438
Browse files Browse the repository at this point in the history
fix: mobile modal
  • Loading branch information
Jarsen136 authored Feb 26, 2025
2 parents 0c5ee64 + fd5b51f commit ad74a50
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
4 changes: 1 addition & 3 deletions components/common/listingCart/ListingCartModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,13 @@
@close="onClose"
>
<ModalBody
modal-max-height="100vh"
:title="title"
content-class="pt-4 pb-5 px-0"
:scrollable="false"
:loading="!autoTeleportLoaded"
@close="onClose"
>
<div class="px-6 max-h-[50vh] overflow-y-auto">
<div class="px-6 overflow-y-auto">
<ModalIdentityItem />

<ListingCartSingleItemCart
Expand All @@ -57,7 +56,6 @@
@set-fixed-price="setFixedPrice"
/>
</div>

<div class="border-t pt-5 pb-4 px-6">
<div class="flex justify-between">
{{ $t('listingCart.potentialEarnings') }}
Expand Down
3 changes: 1 addition & 2 deletions components/trade/makeOffer/MakeOfferModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,13 @@
@close="onClose"
>
<ModalBody
modal-max-height="100vh"
:title="$t('transaction.offer')"
content-class="pt-4 pb-5 px-0"
:scrollable="false"
:loading="!autoTeleportLoaded"
@close="onClose"
>
<div class="px-6 max-h-[50vh] overflow-y-auto">
<div class="px-6 overflow-y-auto">
<ModalIdentityItem />

<MakeOfferSingleItem v-if="offerStore.items.length === 1" />
Expand Down
2 changes: 1 addition & 1 deletion libs/ui/src/components/NeoModal/NeoModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ const props = withDefaults(
rootClass: '',
noShadow: false,
enableMobile: true,
maxHeight: '80vh',
maxHeight: '100vh',
mobileBreakpoint: '768px',
appendToBody: true,
dataTestid: undefined,
Expand Down

0 comments on commit ad74a50

Please sign in to comment.