mirror of
https://github.com/twbs/bootstrap.git
synced 2025-03-15 05:00:15 +01:00
Merge branch 'patch-1' of https://github.com/bassjobsen/bootstrap into bassjobsen-patch-1
This commit is contained in:
commit
0c45458fcc
@ -492,7 +492,21 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Generate the small columns
|
||||||
|
.make-small-column(@columns) {
|
||||||
|
position: relative;
|
||||||
|
float: left;
|
||||||
|
// Prevent columns from collapsing when empty
|
||||||
|
min-height: 1px;
|
||||||
|
// Inner gutter via padding
|
||||||
|
padding-left: (@grid-gutter-width / 2);
|
||||||
|
padding-right: (@grid-gutter-width / 2);
|
||||||
|
@max : (@grid-float-breakpoint - 1 );
|
||||||
|
// Calculate width based on number of columns available
|
||||||
|
@media (max-width: @max) {
|
||||||
|
width: percentage((@columns / @grid-columns));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// Framework mixins
|
// Framework mixins
|
||||||
// --------------------------------------------------
|
// --------------------------------------------------
|
||||||
|
Loading…
x
Reference in New Issue
Block a user