Skip to content

Commit

Permalink
display property changed instead of font-display (Fixes #96)
Browse files Browse the repository at this point in the history
  • Loading branch information
Miguel Solorio committed Jan 25, 2022
1 parent 31c5a78 commit bcb11d5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion dist/codicon.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,13 @@

@font-face {
font-family: "codicon";
font-display: block;
src: url("./codicon.ttf?e12b729c5152a59bb1fd969fb64b8d0c") format("truetype");
}

.codicon[class*='codicon-'] {
font: normal normal normal 16px/1 codicon;
display: block;
display: inline-block;
text-decoration: none;
text-rendering: auto;
text-align: center;
Expand Down
3 changes: 2 additions & 1 deletion src/template/styles.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,13 @@
@font-face {
font-family: "{{ name }}";
font-display: block;
src: {{{ fontSrc }}};
}
.codicon[class*='codicon-'] {
font: normal normal normal 16px/1 {{ name }};
display: block;
display: inline-block;
text-decoration: none;
text-rendering: auto;
text-align: center;
Expand Down

0 comments on commit bcb11d5

Please sign in to comment.