mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-19 16:54:24 +01:00
Fixes #7591: add .make-small-column() mixin
This commit is contained in:
parent
2d5ab9a2de
commit
4b3a43e381
@ -438,6 +438,16 @@
|
||||
right: percentage((@columns / @grid-columns));
|
||||
}
|
||||
}
|
||||
// Small, mobile-first columns
|
||||
.make-small-column(@columns) {
|
||||
position: relative;
|
||||
float: left;
|
||||
// Prevent columns from collapsing when empty
|
||||
min-height: 1px;
|
||||
// Set inner padding as gutters instead of margin
|
||||
padding-left: (@grid-gutter-width / 2);
|
||||
padding-right: (@grid-gutter-width / 2);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user