mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-06 04:08:22 +01:00
Remove map-merge (#28033)
This commit is contained in:
parent
d546cb8374
commit
3d350c3b34
@ -186,18 +186,13 @@ $paragraph-margin-bottom: 1rem !default;
|
|||||||
// Define the minimum dimensions at which your layout will change,
|
// Define the minimum dimensions at which your layout will change,
|
||||||
// adapting to different screen sizes, for use in media queries.
|
// adapting to different screen sizes, for use in media queries.
|
||||||
|
|
||||||
$grid-breakpoints: () !default;
|
$grid-breakpoints: (
|
||||||
// stylelint-disable-next-line scss/dollar-variable-default
|
xs: 0,
|
||||||
$grid-breakpoints: map-merge(
|
sm: 576px,
|
||||||
(
|
md: 768px,
|
||||||
xs: 0,
|
lg: 992px,
|
||||||
sm: 576px,
|
xl: 1200px
|
||||||
md: 768px,
|
) !default;
|
||||||
lg: 992px,
|
|
||||||
xl: 1200px
|
|
||||||
),
|
|
||||||
$grid-breakpoints
|
|
||||||
);
|
|
||||||
|
|
||||||
@include _assert-ascending($grid-breakpoints, "$grid-breakpoints");
|
@include _assert-ascending($grid-breakpoints, "$grid-breakpoints");
|
||||||
@include _assert-starts-at-zero($grid-breakpoints);
|
@include _assert-starts-at-zero($grid-breakpoints);
|
||||||
@ -207,17 +202,12 @@ $grid-breakpoints: map-merge(
|
|||||||
//
|
//
|
||||||
// Define the maximum width of `.container` for different screen sizes.
|
// Define the maximum width of `.container` for different screen sizes.
|
||||||
|
|
||||||
$container-max-widths: () !default;
|
$container-max-widths: (
|
||||||
// stylelint-disable-next-line scss/dollar-variable-default
|
sm: 540px,
|
||||||
$container-max-widths: map-merge(
|
md: 720px,
|
||||||
(
|
lg: 960px,
|
||||||
sm: 540px,
|
xl: 1140px
|
||||||
md: 720px,
|
) !default;
|
||||||
lg: 960px,
|
|
||||||
xl: 1140px
|
|
||||||
),
|
|
||||||
$container-max-widths
|
|
||||||
);
|
|
||||||
|
|
||||||
@include _assert-ascending($container-max-widths, "$container-max-widths");
|
@include _assert-ascending($container-max-widths, "$container-max-widths");
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user