Sidebar Styling issues with Mobile

This commit is contained in:
Bel Curcio
2021-06-01 17:40:39 -03:00
parent 3414739913
commit c1535cb8a6
10 changed files with 59 additions and 28 deletions

View File

@@ -4,7 +4,7 @@
.main {
@apply relative px-0 pb-0 box-border flex flex-col col-span-1;
min-height: 600px;
min-height: 500px;
}
.nameBox {
@@ -22,13 +22,17 @@
}
.sidebar {
@apply flex flex-col col-span-1 mx-auto max-w-8xl px-6 w-full h-full;
@apply flex flex-col col-span-1 mx-auto max-w-8xl px-6 py-6 w-full h-full;
}
.sliderContainer {
@apply flex items-center justify-center overflow-x-hidden bg-violet;
}
.imageContainer {
@apply text-center;
}
.imageContainer > div,
.imageContainer > div > div {
@apply h-full;
@@ -39,7 +43,7 @@
}
.button {
min-width: 300px;
width: 100%;
}
.wishlistButton {
@@ -47,13 +51,7 @@
}
@screen md {
.main {
min-height: 700px;
}
.button {
text-align: center;
width: 100%;
max-width: 300px;
}
}

View File

@@ -185,7 +185,6 @@ const ProductView: FC<Props> = ({ product, relatedProducts }) => {
>
<ProductCard
key={p.path}
className={s.relatedProduct}
variant="simple"
className="animated fadeIn"
product={p}