(Fix) Header/Layout: revert change from calc to padding since it affects too many other things

This commit is contained in:
0xfff 2016-09-26 02:23:56 +02:00
parent 33fd77f796
commit 826dd028f2
2 changed files with 1 additions and 2 deletions

View file

@ -6,7 +6,6 @@
.hero {
position: relative;
min-height: 600px;
padding: 0 $size-gutter;
color: $white;
&__title, &__lead, &__text {

View file

@ -7,7 +7,7 @@ body {
.content {
width: $content-max-width;
padding: 0 $size-gutter;
max-width: calc(100% - 40px); // TODO: Refactor this. Use padding on container instead
@media (max-width: 1024px) {
max-width: 96.1%; // at 1024px 40px is 3.9% of screen width
}