🎨 styles: cart drawer spacing

:%s
This commit is contained in:
lytrankieio123
2021-09-14 09:42:06 +07:00
parent 4ae9ace396
commit b312069710
3 changed files with 2 additions and 5 deletions

View File

@@ -6,7 +6,4 @@
.body { .body {
@apply flex flex-col justify-center overflow-y-auto overflow-x-hidden h-full custom-scroll; @apply flex flex-col justify-center overflow-y-auto overflow-x-hidden h-full custom-scroll;
} }
.bottom {
padding-top: 1.6rem;
}
} }

View File

@@ -23,7 +23,7 @@ const CartDrawer = ({ visible, onClose }: Props) => {
<ProductsInCart data={PRODUCT_CART_DATA_TEST}/> <ProductsInCart data={PRODUCT_CART_DATA_TEST}/>
<CartRecommendation /> <CartRecommendation />
</div> </div>
<div className={s.bottom}> <div>
<CartMessage /> <CartMessage />
<CartCheckoutButton /> <CartCheckoutButton />
</div> </div>

View File

@@ -2,7 +2,7 @@
.cartRecommendation { .cartRecommendation {
@apply w-full bg-background-gray; @apply w-full bg-background-gray;
padding-bottom: 1.6rem; padding-bottom: 5.4rem;
.top { .top {
@apply flex justify-between items-center; @apply flex justify-between items-center;
padding: 1.6rem; padding: 1.6rem;