diff --git a/src/routes/shop/comma-four/+page.svelte b/src/routes/shop/comma-four/+page.svelte index edb1061d..542ff112 100644 --- a/src/routes/shop/comma-four/+page.svelte +++ b/src/routes/shop/comma-four/+page.svelte @@ -1,4 +1,7 @@ @@ -51,7 +58,7 @@

In the Box

-
+
comma four device

comma four

@@ -64,6 +71,12 @@ mount

2 mounts

+ {#if hasHarness} +
+ car harness +

car harness

+
+ {/if}

@@ -389,21 +402,24 @@ } & .box-contents { - display: flex; - flex-wrap: wrap; + display: grid; + grid-template-columns: repeat(3, 1fr); + gap: 2rem; text-align: center; - & > div { - width: 300px; - margin-bottom: 2rem; + &.has-harness { + grid-template-columns: repeat(2, 1fr); + } - & img { - max-height: 150px; + @media screen and (max-width: 768px) { + &, &.has-harness { + grid-template-columns: 1fr; } + } - & p { - margin: 0 2rem; - } + & img { + height: 150px; + object-fit: contain; } }