From 99df29928df9c661dc8735e59529247aedcbf3fe Mon Sep 17 00:00:00 2001 From: Anton Vakhrushev Date: Mon, 6 May 2019 22:12:37 +0300 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D0=BE=20=D1=80=D0=B0=D0=B7=D1=8A=D0=B5=D0=B7=D0=B6?= =?UTF-8?q?=D0=B0=D0=BD=D0=B8=D0=B5=20=D0=B1=D0=BB=D0=BE=D0=BA=D0=B0=20?= =?UTF-8?q?=D0=BA=D0=BE=D0=B4=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/_assets/layout_internal/style.scss | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/source/_assets/layout_internal/style.scss b/source/_assets/layout_internal/style.scss index 6d0587e..4be1a87 100644 --- a/source/_assets/layout_internal/style.scss +++ b/source/_assets/layout_internal/style.scss @@ -8,10 +8,8 @@ @media (max-width: $first-media-step) { width: auto; - margin: { - left: $mobile-margin; - right: $mobile-margin; - } + margin-left: $mobile-margin; + margin-right: $mobile-margin; } } @@ -25,6 +23,10 @@ h1 { margin-top: 1.2em; margin-bottom: 0.5em; + + @media (max-width: $first-media-step) { + margin-top: 0.8em; + } } pre { @@ -33,6 +35,7 @@ padding: 1em; background-color: #f6f8fa; // from github border-radius: 5px; + overflow-y: auto; } code {