Fix desktop container

This commit is contained in:
Jeremy Thomas
2017-07-24 12:54:00 +02:00
parent 28d22d97df
commit d28556d8dd
4 changed files with 100 additions and 14 deletions

View File

@@ -3,14 +3,15 @@
.container
margin: 0 auto
max-width: $desktop - (2 * $gap)
position: relative
width: $desktop - (2 * $gap)
&.is-fluid
margin-left: $gap
margin-right: $gap
max-width: none
width: auto
+desktop
max-width: $desktop - (2 * $gap)
width: $desktop - (2 * $gap)
&.is-fluid
margin-left: $gap
margin-right: $gap
max-width: none
width: auto
+until($widescreen)
&.is-widescreen
max-width: $widescreen - (2 * $gap)