commerce/site/components/product/ProductDetails/ProductDetails.module.css
Catalin Pinte b1b25a5170 Updates
2022-12-19 17:24:47 +02:00

57 lines
931 B
CSS

.root {
@apply relative grid items-start gap-1 grid-cols-1 overflow-x-hidden;
min-height: auto;
}
.main {
@apply relative px-0 pb-0 box-border flex flex-col col-span-1;
min-height: 500px;
}
.sidebar {
@apply flex flex-col col-span-1 mx-auto max-w-8xl px-6 py-6 w-full h-full;
}
.sliderContainer {
@apply flex flex-1 overflow-x-hidden bg-violet items-center justify-center;
}
.imageContainer {
@apply text-center h-full relative flex-shrink-0;
}
.imageContainer > span {
height: 100% !important;
}
.sliderContainer .img {
@apply w-full h-full max-h-full object-cover transition duration-500 ease-in-out;
}
.button {
width: 100%;
}
.wishlistButton {
@apply absolute z-30 top-0 right-0;
}
@screen lg {
.root {
@apply grid-cols-12;
}
.main {
@apply mx-0 col-span-8;
min-height: 782px;
}
.sidebar {
@apply col-span-4 py-6;
}
.imageContainer {
max-height: 600px;
}
}