1
1
mirror of https://github.com/primer/css.git synced 2024-12-01 04:21:12 +03:00

forgot to update these scale vars too

This commit is contained in:
Catherine Bui 2017-11-02 10:39:09 -07:00
parent d1e34551f9
commit e12c3e2103
2 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@
// stylelint-disable block-opening-brace-space-before, declaration-colon-space-before, primer/selector-no-utility, comment-empty-line-before
@for $i from 1 through length($marketingSpacers) {
$size: #{nth($marketingSpacers, $i)};
$scale: #{$i - 1};
$scale: #{$i + 6}; // 7, 8, 9, 10, 11
/* Set a #{$size} margin on the top */
.mt-#{$scale} { margin-top : #{$size} !important; }

View File

@ -3,7 +3,7 @@
// stylelint-disable comment-empty-line-before
@for $i from 1 through length($marketingSpacers) {
$size: #{nth($marketingSpacers, $i)};
$scale: #{$i - 1};
$scale: #{$i + 6}; // 7, 8, 9, 10, 11
/* Set a #{$size} padding to the top */
.pt-#{$scale} { padding-top : #{$size} !important; }