1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-31 17:11:48 +02:00

Restore grid offset classes

Fixes #23360 by restoring just the offset class generation to our grid
framework mixins. Also restores the `make-col-offset` mixin.

Docs have been restored to illustrate this behavior and merged with the
newer margin utilities examples.
This commit is contained in:
Mark Otto
2017-08-14 22:30:44 -07:00
committed by Mark Otto
parent d5db28d183
commit fd8c052c67
3 changed files with 58 additions and 2 deletions

View File

@@ -45,3 +45,7 @@
// do not appear to require this.
max-width: percentage($size / $columns);
}
@mixin make-col-offset($size, $columns: $grid-columns) {
margin-left: percentage($size / $columns);
}