Skip to content

Commit

Permalink
undo the grid max-width boundary because it makes offsets kinda borke…
Browse files Browse the repository at this point in the history
…d (you'd have to set twice, for medium and large, in most cases--and that sucks)
  • Loading branch information
mdo committed Aug 12, 2013
1 parent 8a669be commit 394f698
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 11 deletions.
6 changes: 0 additions & 6 deletions dist/css/bootstrap.css
Original file line number Diff line number Diff line change
Expand Up @@ -951,9 +951,6 @@ pre code {
.col-sm-12 {
width: 100%;
}
}

@media (min-width: 768px) and (max-width: 991px) {
.col-sm-push-1 {
left: 8.333333333333332%;
}
Expand Down Expand Up @@ -1109,9 +1106,6 @@ pre code {
.col-md-12 {
width: 100%;
}
}

@media (min-width: 992px) and (max-width: 1199px) {
.col-md-push-1 {
left: 8.333333333333332%;
}
Expand Down
2 changes: 1 addition & 1 deletion dist/css/bootstrap.min.css

Large diffs are not rendered by default.

4 changes: 0 additions & 4 deletions less/grid.less
Original file line number Diff line number Diff line change
Expand Up @@ -140,9 +140,7 @@
.col-sm-10 { width: percentage((10/ @grid-columns)); }
.col-sm-11 { width: percentage((11/ @grid-columns)); }
.col-sm-12 { width: 100%; }
}

@media (min-width: @screen-tablet) and (max-width: @screen-tablet-max) {
// Push and pull columns for source order changes
.col-sm-push-1 { left: percentage((1 / @grid-columns)); }
.col-sm-push-2 { left: percentage((2 / @grid-columns)); }
Expand Down Expand Up @@ -217,9 +215,7 @@
.col-md-10 { width: percentage((10/ @grid-columns)); }
.col-md-11 { width: percentage((11/ @grid-columns)); }
.col-md-12 { width: 100%; }
}

@media (min-width: @screen-desktop) and (max-width: @screen-desktop-max) {
// Push and pull columns for source order changes
.col-md-push-1 { left: percentage((1 / @grid-columns)); }
.col-md-push-2 { left: percentage((2 / @grid-columns)); }
Expand Down

1 comment on commit 394f698

@eratzlaff
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#9128

.col-sm-push-0,
.col-md-push-0,
.col-lg-push-0 {
  left: 0%;
}
.col-sm-pull-0,
.col-md-pull-0,
.col-lg-pull-0 {
  right: 0%;
}
.col-sm-offset-0,
.col-md-offset-0,
.col-lg-offset-0 {
  margin-left: 0%;
}

Please sign in to comment.