Skip to content

Commit 5c7212e

Browse files
fix margin on mobile
1 parent d06d636 commit 5c7212e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

components/NFTCard.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ export const NFTCard: React.FC<NFTCardProps> = ({
183183
}, [paymentTokenSymbol])
184184
return (
185185
<div
186-
className={`shadow-2xl container bg-gray-400/30 dark:bg-gray-700/30 rounded-lg border-grey-600 transition-max-height duration-200 ease-in-out ${
186+
className={`mx-auto shadow-2xl container bg-gray-400/30 dark:bg-gray-700/30 rounded-lg border-grey-600 transition-max-height duration-200 ease-in-out ${
187187
toggleText ? 'max-h-[770px]' : 'max-h-[620px]'
188188
}`}
189189
>

pages/store.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ const Store = () => {
377377
</>
378378
)}
379379
{nftData && nftData.length !== 0 && isAccountConnected ? (
380-
<div className="flex-initial grid xl:grid-cols-2 grid-cols-1 gap-2 gap-x-6 sm:max-w-[50%] xl:max-w-[66%] ">
380+
<div className="grid xl:grid-cols-2 grid-cols-1 gap-2 lg:gap-x-6 sm:max-w-[50%] xl:max-w-[66%] ">
381381
{Array.from({ length: nftData.length }).map((_, i) => (
382382
// console.log('nft data', nftData[i], i),
383383
<NFTCard

0 commit comments

Comments
 (0)