Skip to content

Commit

Permalink
fix: LibSass 3.5.4 inspect() bug
Browse files Browse the repository at this point in the history
inspect() function should return an unquoted string when passed a
quote string - sass/libsass#2826

This bug has been fixed in LibSass 3.6.0 - unfortunatelly node-sass its
having issues updating to 3.6.0
(sass/node-sass#2685)
While we wait for node-sass. We need to make sure that values that we
pass to the utilities mixins are exactly as described in _system-tokens.scss
  • Loading branch information
carlosvalle committed Oct 18, 2019
1 parent e6c0735 commit 8082c1b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions src/stylesheets/components/_tile.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

.sds-tile {
@include u-display('inline-block');
@include u-margin-x('2');
@include u-margin-x(2);
}

.sds-tile__content {
Expand Down Expand Up @@ -39,7 +39,7 @@
@media only screen and (max-width: 600px) {
.sds-tile__icon {
@include u-display('inline-block');
@include u-margin-right('2');
@include u-margin-right(2);
@include u-text('secondary');
height: 30px;
width: 30px;
Expand Down Expand Up @@ -68,7 +68,7 @@
.sds-tile__content.sds-tile--outline {
@include u-border(2px, 'white');
@include u-radius('lg');
@include u-padding('2');
@include u-padding(2);
background: rgba(240, 245, 249, 0.95);
text-decoration: none !important;
height: 150px;
Expand All @@ -95,15 +95,15 @@
@media only screen and (max-width: 600px) {
.sds-tile {
@include u-display('block');
@include u-margin-y('1');
@include u-margin-y(1);
}

.sds-tile__content,
.sds-tile__content.sds-tile--outline {
@include u-display('flex');
@include u-flex('row');
@include u-padding-y('0');
@include u-padding-x('2');
@include u-padding-y(0);
@include u-padding-x(1);
height: 50px;
width: 300px;
}
Expand Down
2 changes: 1 addition & 1 deletion src/stylesheets/elements/_buttons.scss
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@
@include u-display('flex');
@include u-bg('white');
@include u-flex('justify-center');
@include u-margin('1');
@include u-margin(1);

span {
font-size: 14px;
Expand Down

0 comments on commit 8082c1b

Please sign in to comment.