mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-23 05:33:02 +02:00
remove unused mixin, fix variable
This commit is contained in:
@@ -3,14 +3,14 @@
|
|||||||
// Used only by Bootstrap to generate the correct number of grid classes given
|
// Used only by Bootstrap to generate the correct number of grid classes given
|
||||||
// any value of `$grid-columns`.
|
// any value of `$grid-columns`.
|
||||||
|
|
||||||
@mixin make-grid-columns($columns: $grid-columns, $gutters: $grid-gutter-widths, $breakpoints: $grid-breakpoints) {
|
@mixin make-grid-columns($columns: $grid-columns, $gutter: $grid-gutter-width, $breakpoints: $grid-breakpoints) {
|
||||||
// Common properties for all breakpoints
|
// Common properties for all breakpoints
|
||||||
%grid-column {
|
%grid-column {
|
||||||
position: relative;
|
position: relative;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
min-height: 1px; // Prevent columns from collapsing when empty
|
min-height: 1px; // Prevent columns from collapsing when empty
|
||||||
padding-right: ($grid-gutter-width / 2);
|
padding-right: ($gutter / 2);
|
||||||
padding-left: ($grid-gutter-width / 2);
|
padding-left: ($gutter / 2);
|
||||||
}
|
}
|
||||||
|
|
||||||
@each $breakpoint in map-keys($breakpoints) {
|
@each $breakpoint in map-keys($breakpoints) {
|
||||||
|
@@ -20,16 +20,6 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// @mixin make-gutters($gutters: $grid-gutter-widths) {
|
|
||||||
// @each $breakpoint in map-keys($gutters) {
|
|
||||||
// @include media-breakpoint-up($breakpoint) {
|
|
||||||
// $gutter: map-get($gutters, $breakpoint);
|
|
||||||
// padding-right: ($gutter / 2);
|
|
||||||
// padding-left: ($gutter / 2);
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
|
|
||||||
@mixin make-row() {
|
@mixin make-row() {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
|
Reference in New Issue
Block a user