From 6dadf22b1ea12ffe45ba1b17bfe5c9c91798dbd5 Mon Sep 17 00:00:00 2001 From: David Katrinka Date: Sun, 15 Jun 2025 20:23:06 +0200 Subject: [PATCH] fixed recent reviews and daily recipes adaptive --- assets/css/style.css | 31 +++++++++++++++++++++---------- 1 file changed, 21 insertions(+), 10 deletions(-) diff --git a/assets/css/style.css b/assets/css/style.css index 292d432..3ed13ff 100644 --- a/assets/css/style.css +++ b/assets/css/style.css @@ -628,15 +628,7 @@ label span { color: var(--panel-text); } @media (max-width: 900px) { - .reviews-grid { - grid-template-columns: 1fr; - column-gap: 0; - } - - .recent-review { - width: 100%; - max-width: 100%; - } + .menu-toggle { display: block; @@ -691,4 +683,23 @@ label span { .footer-nav{ margin-top: 0; } -} \ No newline at end of file + + .daily-meals-grid{ + grid-template-columns: repeat(1, 300px); + grid-template-rows: repeat(6, 100px); + } + + +} + +@media (max-width: 1024px){ + .reviews-grid { + grid-template-columns: 1fr; + column-gap: 0; + } + + .recent-review { + width: 100%; + max-width: 100%; + } + } \ No newline at end of file