Commit a501fbfc by Louis Pilfold

Stop page extending out of viewport width by 40px

Currently the .container and .wrapper-footer elements are set to 100%,
and also have horizontal padding added to them. This results in a total
width of greater than the full width of the viewport; This causing the
browser to scroll horizonally into empty space, regardless of how wide
the viewport is.

I had added the `box-sizing: border-box` to these elements in order to
resolve this.

Cheers,
Louis
parent 61dbd70c
...@@ -107,6 +107,7 @@ a:focus { ...@@ -107,6 +107,7 @@ a:focus {
.container { .container {
@include clearfix; @include clearfix;
box-sizing: border-box;
margin: 0 auto 0; margin: 0 auto 0;
padding: 0px 30px; padding: 0px 30px;
max-width: grid-width(12); max-width: grid-width(12);
......
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
footer { footer {
@include clearfix(); @include clearfix();
box-sizing: border-box;
max-width: grid-width(12); max-width: grid-width(12);
min-width: 760px; min-width: 760px;
width: flex-grid(12); width: flex-grid(12);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment