1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-28 07:39:57 +02:00

Refactor _utilities-spacing.scss; fixes #18129

This commit is contained in:
Chris Rebert
2015-11-05 22:17:34 -08:00
parent 8d4f5c1c12
commit 5871be0ce6
2 changed files with 43 additions and 64 deletions

View File

@@ -60,6 +60,24 @@ $enable-grid-classes: true !default;
$spacer: 1rem !default;
$spacer-x: $spacer !default;
$spacer-y: $spacer !default;
$spacers: (
0: (
x: 0,
y: 0
),
1: (
x: $spacer-x,
y: $spacer-y
),
2: (
x: ($spacer-x * 1.5),
y: ($spacer-y * 1.5)
),
3: (
x: ($spacer-x * 3),
y: ($spacer-y * 3)
)
) !default;
$border-width: 1px !default;