mirror of
https://github.com/vercel/commerce.git
synced 2025-07-22 20:26:49 +00:00
Changes to ProductGrid
This commit is contained in:
@@ -1,4 +1,8 @@
|
||||
.root {
|
||||
@apply grid grid-cols-1 lg:grid-cols-3 lg:grid-rows-4 w-full h-96;
|
||||
min-height: calc((100vh - 80px - 56px) * 2);
|
||||
|
||||
& div:nth-child(1) {
|
||||
@apply row-span-2 lg:col-span-2 bg-red-200 h-full;
|
||||
}
|
||||
}
|
||||
|
@@ -12,7 +12,7 @@ const ProductView: FunctionComponent<Props> = ({ products, className }) => {
|
||||
const rootClassName = cn(s.root, className);
|
||||
return (
|
||||
<div className={rootClassName}>
|
||||
<div className="row-span-2 lg:col-span-2 bg-violet h-full"></div>
|
||||
<div></div>
|
||||
<div className="row-span-1 lg:col-span-1 bg-black h-full"></div>
|
||||
<div className="row-span-1 lg:col-span-1 bg-pink"></div>
|
||||
<div className="row-span-1 lg:col-span-1 bg-black h-full"></div>
|
||||
|
Reference in New Issue
Block a user