From c80fa03ebcc9b79d504ba7b6a2060e726653db05 Mon Sep 17 00:00:00 2001 From: xomimishka Date: Thu, 26 Jun 2025 18:38:45 +0300 Subject: [PATCH] =?UTF-8?q?=D0=B8=D0=B7=D0=BE=D0=B1=D1=80=D0=B0=D0=B6?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D1=8F=20=D0=B2=20=D0=BF=D1=80=D0=BE=D0=B5?= =?UTF-8?q?=D0=BA=D1=82=D0=B0=D1=85=20=D1=81=20=D0=BD=D0=BE=D0=B2=D0=BE?= =?UTF-8?q?=D0=B9=20=D1=81=D1=82=D1=80=D0=BE=D0=BA=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/widgets/WpPost/Projects.scss | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/src/widgets/WpPost/Projects.scss b/src/widgets/WpPost/Projects.scss index 7b3c458..aabbd83 100644 --- a/src/widgets/WpPost/Projects.scss +++ b/src/widgets/WpPost/Projects.scss @@ -202,4 +202,29 @@ $swiper-button-arrow-size: 20px; } } } -} \ No newline at end of file +} + +@media (max-width: 768px) { + .project .is-layout-flex { + flex-direction: column !important; + align-items: stretch !important; + } + + .project .is-layout-flex figure { + width: 100% !important; + margin: 0 0 1em !important; + } + + .project .is-layout-flex figure img { + display: block !important; + width: 100% !important; + height: auto !important; + max-width: none !important; + object-fit: contain !important; + } + + .project .wp-block-column { + flex: 0 0 100% !important; + max-width: 100% !important; + } +}