Always hide horizontal scrollbars on body

This commit is contained in:
John O'Nolan 2014-07-29 12:28:02 +03:00
parent 12f78f22ce
commit 3ede5f4feb
4 changed files with 6 additions and 4 deletions

View File

@ -16,6 +16,7 @@ body {
-webkit-font-feature-settings: 'kern' 1;
-moz-font-feature-settings: 'kern' 1;
font-feature-settings: 'kern' 1;
overflow-x: hidden; // Never have horizontal scrollbars
}
::-moz-selection {

View File

@ -7,14 +7,14 @@
<body>
<a class="sr-only sr-only-focusable" href="#gh-main">Skip to main content</a>
<!-- Docs master nav -->
<!-- Main nav -->
{% include nav/global.html %}
<!-- Docs page -->
<main id="gh-main" class="viewport" role="main">
{{content}}
</main>
{% include foot.html %}
</body>
</html>

View File

@ -592,7 +592,8 @@ body {
width: 100%;
-webkit-font-feature-settings: 'kern' 1;
-moz-font-feature-settings: 'kern' 1;
font-feature-settings: 'kern' 1; }
font-feature-settings: 'kern' 1;
overflow-x: hidden; }
::-moz-selection {
background: #D6EDFF; }

File diff suppressed because one or more lines are too long