From 7a7df39c1b02bc60e8bba1bde24b4e9bb3689940 Mon Sep 17 00:00:00 2001 From: Yuriy Voroshilov Date: Mon, 16 Mar 2026 15:52:46 +0300 Subject: [PATCH] Fixed ContentGrid component styles --- src/styles/components/ContentGrid.css | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/src/styles/components/ContentGrid.css b/src/styles/components/ContentGrid.css index a81c3e1..3bcdc58 100644 --- a/src/styles/components/ContentGrid.css +++ b/src/styles/components/ContentGrid.css @@ -10,11 +10,6 @@ --overlay-padding-large: 25px 20px 20px; } -/* Секция постов */ -.posts-section { - -} - .posts-section h2 { margin-bottom: 30px; color: #333; @@ -157,8 +152,8 @@ /* Для сетки 4 колонки - большие карточки на 2 колонки */ .posts-grid-4 .post-card-large { grid-column: span 2; - aspect-ratio: 2 / 1; - padding-bottom: 50%; + aspect-ratio: 2 / 0.965; + padding-bottom: 48.3%; } /* Для сетки 3 колонки - большие карточки на 2 колонки */