🎨 styles: cart responsive in mobile

:%s
This commit is contained in:
lytrankieio123
2021-09-22 14:59:19 +07:00
parent 7ac30b61d3
commit 0f190c6a1b
2 changed files with 6 additions and 3 deletions

View File

@@ -3,7 +3,10 @@
.cartDrawer {
@apply flex flex-col custom-scroll;
@screen md {
@apply h-full;
}
.body {
@apply flex flex-col overflow-x-hidden h-full;
@apply flex flex-col overflow-x-hidden h-full custom-scroll;
}
}

View File

@@ -30,12 +30,12 @@
@apply flex flex-col bg-white;
width: fit-content;
height: 100vh;
width: 100%;
width: 90%;
margin-left: auto;
box-shadow: -3px 0 10px rgba(0, 0, 0, 0.15);
// transform: none;
@screen md {
width: 100%;
max-width: 52rem;
}
.top {