mirror of
https://github.com/vercel/commerce.git
synced 2025-05-17 23:16:59 +00:00
More Changes
This commit is contained in:
parent
5c79f7a8fd
commit
1a729f9e72
@ -61,6 +61,10 @@
|
||||
@apply absolute z-30 top-0 right-0;
|
||||
}
|
||||
|
||||
.relatedProductsGrid {
|
||||
@apply grid grid-cols-2 py-2 gap-2 md:grid-cols-4 md:gap-7;
|
||||
}
|
||||
|
||||
@screen lg {
|
||||
.root {
|
||||
@apply grid-cols-12;
|
||||
|
@ -160,7 +160,7 @@ const ProductView: FC<ProductViewProps> = ({ product, relatedProducts }) => {
|
||||
<hr className="mt-7 border-accent-2" />
|
||||
<section className="py-12 px-6 mb-10">
|
||||
<Text variant="sectionHeading">Related Products</Text>
|
||||
<div className="grid grid-cols-2 py-2 gap-2 md:grid-cols-4 md:gap-20">
|
||||
<div className={s.relatedProductsGrid}>
|
||||
{relatedProducts.map((p) => (
|
||||
<div
|
||||
key={p.path}
|
||||
|
Loading…
x
Reference in New Issue
Block a user