Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #1186 - Reset the offset on columns #2290

Merged
merged 1 commit into from
May 17, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions sass/grid/columns.sass
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ $column-gap: 0.75rem !default
margin-left: 60%
.columns.is-mobile > &.is-offset-four-fifths
margin-left: 80%
@for $i from 1 through 12
@for $i from 0 through 12
.columns.is-mobile > &.is-#{$i}
flex: none
width: percentage($i / 12)
Expand Down Expand Up @@ -113,7 +113,7 @@ $column-gap: 0.75rem !default
margin-left: 60%
&.is-offset-four-fifths-mobile
margin-left: 80%
@for $i from 1 through 12
@for $i from 0 through 12
&.is-#{$i}-mobile
flex: none
width: percentage($i / 12)
Expand Down Expand Up @@ -190,7 +190,7 @@ $column-gap: 0.75rem !default
&.is-offset-four-fifths,
&.is-offset-four-fifths-tablet
margin-left: 80%
@for $i from 1 through 12
@for $i from 0 through 12
&.is-#{$i},
&.is-#{$i}-tablet
flex: none
Expand Down Expand Up @@ -249,7 +249,7 @@ $column-gap: 0.75rem !default
margin-left: 60%
&.is-offset-four-fifths-touch
margin-left: 80%
@for $i from 1 through 12
@for $i from 0 through 12
&.is-#{$i}-touch
flex: none
width: percentage($i / 12)
Expand Down Expand Up @@ -306,7 +306,7 @@ $column-gap: 0.75rem !default
margin-left: 60%
&.is-offset-four-fifths-desktop
margin-left: 80%
@for $i from 1 through 12
@for $i from 0 through 12
&.is-#{$i}-desktop
flex: none
width: percentage($i / 12)
Expand Down Expand Up @@ -363,7 +363,7 @@ $column-gap: 0.75rem !default
margin-left: 60%
&.is-offset-four-fifths-widescreen
margin-left: 80%
@for $i from 1 through 12
@for $i from 0 through 12
&.is-#{$i}-widescreen
flex: none
width: percentage($i / 12)
Expand Down Expand Up @@ -420,7 +420,7 @@ $column-gap: 0.75rem !default
margin-left: 60%
&.is-offset-four-fifths-fullhd
margin-left: 80%
@for $i from 1 through 12
@for $i from 0 through 12
&.is-#{$i}-fullhd
flex: none
width: percentage($i / 12)
Expand Down