We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae7aaab commit a0eab24Copy full SHA for a0eab24
src/routes/shop/comma-four/+page.svelte
@@ -389,21 +389,18 @@
389
}
390
391
& .box-contents {
392
- display: flex;
393
- flex-wrap: wrap;
+ display: grid;
+ grid-template-columns: repeat(3, 1fr);
394
+ gap: 2rem;
395
text-align: center;
396
- & > div {
397
- width: 300px;
398
- margin-bottom: 2rem;
399
-
400
- & img {
401
- max-height: 150px;
402
- }
+ @media screen and (max-width: 768px) {
+ grid-template-columns: 1fr;
+ }
403
404
- & p {
405
- margin: 0 2rem;
406
+ & img {
+ height: 150px;
+ object-fit: contain;
407
408
409
0 commit comments