mirror of
https://github.com/vercel/commerce.git
synced 2025-07-22 20:26:49 +00:00
cover full screen and center
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
}
|
||||
|
||||
@screen lg {
|
||||
@apply mx-0 col-span-7;
|
||||
@apply mx-0 col-span-6;
|
||||
min-height: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
@@ -52,8 +52,7 @@
|
||||
@apply flex flex-col col-span-1;
|
||||
|
||||
@screen lg {
|
||||
@apply col-span-5;
|
||||
padding-top: 5rem;
|
||||
@apply col-span-5 pl-12 pt-20;
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -46,7 +46,7 @@ const ProductView: FC<Props> = ({ product, className }) => {
|
||||
}
|
||||
|
||||
return (
|
||||
<Container>
|
||||
<Container className="max-w-none w-full" clean>
|
||||
<NextSeo
|
||||
title={product.name}
|
||||
description={product.description}
|
||||
@@ -88,12 +88,6 @@ const ProductView: FC<Props> = ({ product, className }) => {
|
||||
))}
|
||||
</ProductSlider>
|
||||
</div>
|
||||
|
||||
{!validMedia && (
|
||||
<div className="absolute z-10 bottom-10 left-1/2 transform -translate-x-1/2 inline-block">
|
||||
<img src="/slider-arrows.png" />
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
|
||||
<div className={s.sidebar}>
|
||||
|
Reference in New Issue
Block a user