From 6eaef0f06f6243187f6a74c5a4f8958320603425 Mon Sep 17 00:00:00 2001 From: Vitaliy Kormylo <65959529+VKormylo@users.noreply.github.com> Date: Thu, 21 Nov 2024 19:10:15 +0200 Subject: [PATCH] Fixed the height of card when 1 bookmark selected (#2687) * Fixed the height of card when 1 bookmark selected * Fixed gap when on grid view * Refactored CSS --- .../find-offer/offer-container/OfferContainer.styles.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/containers/find-offer/offer-container/OfferContainer.styles.ts b/src/containers/find-offer/offer-container/OfferContainer.styles.ts index 80df9c055..20b3062ad 100644 --- a/src/containers/find-offer/offer-container/OfferContainer.styles.ts +++ b/src/containers/find-offer/offer-container/OfferContainer.styles.ts @@ -12,9 +12,13 @@ export const styles = { : '1fr' }), gridItem: { width: '100%' }, - appCard: { padding: { sm: '30px 20px', md: '30px 20px' } }, + appCard: { + p: { sm: '30px 20px', md: '30px 20px' }, + alignSelf: 'flex-start' + }, appCardSquare: { minHeight: '460px', - padding: '24px 20px' + p: '24px 20px', + boxSizing: 'border-box' } }