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 {