Skip to content

Commit

Permalink
perf(site): actually show the fallback font if the loading fails (#95)
Browse files Browse the repository at this point in the history
  • Loading branch information
roperzh authored and stristr committed May 17, 2019
1 parent 6f050b7 commit 2aa8084
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/site/assets/styles/_utils.scss
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ $source-code-pro: 'Source Code Pro', monospace;
@media (max-width: $sizingXL) { @content; }
}

@mixin font-family ($family...) {
font-family: nth($family, 1);
@mixin font-family ($family) {
font-family: nth($family, 2);

.fonts-loaded & {
font-family: $family;
Expand Down

0 comments on commit 2aa8084

Please sign in to comment.