Skip to content

Commit

Permalink
Remove position: relative from grid columns
Browse files Browse the repository at this point in the history
Prompted by #25254, I dug into our Git history to see why we add `position: relative` to our grid classes and mixins. Turns out, I have no idea and added it to v3 in a commit that fixed an unrelated issue—see 0f17f9b.
  • Loading branch information
mdo committed Jul 8, 2018
1 parent cfc9c85 commit e792a02
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion scss/mixins/_grid.scss
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
}

@mixin make-col-ready() {
position: relative;
// Prevent columns from becoming too narrow when at smaller grid tiers by
// always setting `width: 100%;`. This works because we use `flex` values
// later on to override this initial width.
Expand Down

0 comments on commit e792a02

Please sign in to comment.