🎨 styles: cart drawer

:%s
This commit is contained in:
lytrankieio123
2021-09-06 17:57:58 +07:00
parent 7a5a28082b
commit aa285d8577
5 changed files with 12 additions and 6 deletions

View File

@@ -9,19 +9,15 @@
width: 90%;
box-shadow: -3px 0 10px rgba(0, 0, 0, 0.15);
z-index: 20000;
@screen md {
width: unset;
}
.inner {
@apply flex flex-col bg-white;
width: fit-content;
height: 100vh;
min-width: 48rem;
width: 100%;
margin-right: 0;
@screen md {
max-width: 50rem;
max-width: 55rem;
}
.top {
@apply flex justify-between items-center;
@@ -46,4 +42,11 @@
&.hide {
transform: translateX(110%);
}
@screen md {
width: unset;
.inner {
min-width: 48rem;
}
}
}