Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
3d350c3b
Commit
3d350c3b
authored
6 years ago
by
Martijn Cuppens
Committed by
Mark Otto
6 years ago
Browse files
Options
Download
Email Patches
Plain Diff
Remove map-merge (#28033)
parent
d546cb83
1 merge request
!28721
Hot test
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
scss/_variables.scss
+13
-23
scss/_variables.scss
with
13 additions
and
23 deletions
+13
-23
scss/_variables.scss
+
13
-
23
View file @
3d350c3b
...
@@ -186,18 +186,13 @@ $paragraph-margin-bottom: 1rem !default;
...
@@ -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(
...
@@ -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"
);
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets