From ef0cddeb781e6a3c2b54c164ae99fd338f898edf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9C=D0=B0=D0=BA=D1=81=D0=B8=D0=BC=20=D0=98=D0=B2=D0=B0?= =?UTF-8?q?=D0=BD=D0=BE=D0=B2?= Date: Fri, 14 Aug 2026 08:21:47 +0300 Subject: [PATCH 1/2] fix: simplify mobile content layout --- src/styles/layout.css | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/styles/layout.css b/src/styles/layout.css index f16dea7..d2b2dcc 100644 --- a/src/styles/layout.css +++ b/src/styles/layout.css @@ -54,12 +54,14 @@ @media (max-width: 700px) { .page { - width: min(100% - 24px, 1120px); - padding: 24px 0 48px; + width: 100%; + padding: 0 0 48px; } .content { - padding: 24px 18px; - border-radius: 16px; + padding: 24px 16px; + border: 0; + border-radius: 0; + box-shadow: none; } } From b7df10dbaa9dd7fb896e08ec78fe8cd72eecc65b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9C=D0=B0=D0=BA=D1=81=D0=B8=D0=BC=20=D0=98=D0=B2=D0=B0?= =?UTF-8?q?=D0=BD=D0=BE=D0=B2?= Date: Fri, 14 Aug 2026 08:22:00 +0300 Subject: [PATCH 2/2] fix: reduce mobile answer padding --- src/styles/markdown-details.css | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/styles/markdown-details.css b/src/styles/markdown-details.css index a7772fa..c3ace52 100644 --- a/src/styles/markdown-details.css +++ b/src/styles/markdown-details.css @@ -152,3 +152,14 @@ padding: 20px 24px; border: 0; } + +@media (max-width: 700px) { + .content details .answer, + .content details > table td { + padding: 16px; + } + + .content details .answer-short { + padding: 14px 16px; + } +}