Skip to content

Commit

Permalink
fix(style): add tab-size support for firefox
Browse files Browse the repository at this point in the history
fixed #105
  • Loading branch information
reuixiy committed Apr 7, 2020
1 parent b1890ee commit afb0b4a
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
2 changes: 1 addition & 1 deletion assets/scss/base/_base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ html, body {
}

body {
tab-size: $tabSize;
@include tabSize;
color: var(--color-contrast-high);
background-color: var(--color-bg);
overflow-wrap: break-word;
Expand Down
8 changes: 8 additions & 0 deletions assets/scss/utils/_mixins.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,11 @@
-webkit-backdrop-filter: saturate(180%) blur(1em);
backdrop-filter: saturate(180%) blur(1em);
}


// Tab Size

@mixin tabSize {
-moz-tab-size: $tabSize;
tab-size: $tabSize;
}
Loading

0 comments on commit afb0b4a

Please sign in to comment.