Skip to content
GitLab
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
814e5b7f
Commit
814e5b7f
authored
7 years ago
by
Andrew Luca
Committed by
Mark Otto
7 years ago
Browse files
Options
Download
Email Patches
Plain Diff
Extend spacers and sizes (#25101)
parent
d16eb10e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
scss/_variables.scss
+8
-4
scss/_variables.scss
with
8 additions
and
4 deletions
+8
-4
scss/_variables.scss
+
8
-
4
View file @
814e5b7f
...
@@ -114,23 +114,27 @@ $enable-print-styles: true !default;
...
@@ -114,23 +114,27 @@ $enable-print-styles: true !default;
// variables. Mostly focused on spacing.
// variables. Mostly focused on spacing.
// You can add more entries to the $spacers map, should you need more variation.
// You can add more entries to the $spacers map, should you need more variation.
// stylelint-disable
$spacer
:
1rem
!
default
;
$spacer
:
1rem
!
default
;
$spacers
:
(
$spacers
:
()
!
default
;
$spacers
:
map-merge
((
0
:
0
,
0
:
0
,
1
:
(
$spacer
*
.25
)
,
1
:
(
$spacer
*
.25
)
,
2
:
(
$spacer
*
.5
)
,
2
:
(
$spacer
*
.5
)
,
3
:
$spacer
,
3
:
$spacer
,
4
:
(
$spacer
*
1
.5
)
,
4
:
(
$spacer
*
1
.5
)
,
5
:
(
$spacer
*
3
)
5
:
(
$spacer
*
3
)
)
!
default
;
)
,
$spacers
)
;
// This variable affects the `.h-*` and `.w-*` classes.
// This variable affects the `.h-*` and `.w-*` classes.
$sizes
:
(
$sizes
:
()
!
default
;
$sizes
:
map-merge
((
25
:
25%
,
25
:
25%
,
50
:
50%
,
50
:
50%
,
75
:
75%
,
75
:
75%
,
100
:
100%
100
:
100%
)
!
default
;
)
,
$sizes
);
// stylelint-enable
// Body
// Body
//
//
...
...
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