flpolprojects commited on
Commit
439543a
·
verified ·
1 Parent(s): 9af04fe

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +14 -4
app.py CHANGED
@@ -297,7 +297,6 @@ def catalog():
297
  padding: 10px;
298
  }
299
  .products-grid {
300
- grid-template-columns: repeat(2, 1fr);
301
  gap: 15px;
302
  padding: 0 10px;
303
  }
@@ -335,13 +334,11 @@ def catalog():
335
  }
336
  @media (max-width: 480px) {
337
  .products-grid {
338
- grid-template-columns: 1fr;
339
  gap: 10px;
 
340
  }
341
  .product {
342
  padding: 10px;
343
- margin: 0 auto;
344
- max-width: 300px;
345
  }
346
  .product-image {
347
  width: 120px;
@@ -355,6 +352,19 @@ def catalog():
355
  font-size: 1.8em;
356
  margin-bottom: 20px;
357
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
358
  }
359
  </style>
360
  </head>
 
297
  padding: 10px;
298
  }
299
  .products-grid {
 
300
  gap: 15px;
301
  padding: 0 10px;
302
  }
 
334
  }
335
  @media (max-width: 480px) {
336
  .products-grid {
 
337
  gap: 10px;
338
+ padding: 0 5px;
339
  }
340
  .product {
341
  padding: 10px;
 
 
342
  }
343
  .product-image {
344
  width: 120px;
 
352
  font-size: 1.8em;
353
  margin-bottom: 20px;
354
  }
355
+ .product h2 {
356
+ font-size: 0.9em;
357
+ }
358
+ .product-price {
359
+ font-size: 1em;
360
+ }
361
+ .product-description {
362
+ font-size: 0.8em;
363
+ }
364
+ .product-button {
365
+ padding: 6px 12px;
366
+ font-size: 0.85em;
367
+ }
368
  }
369
  </style>
370
  </head>