Skip to content
This repository has been archived by the owner on Jul 21, 2019. It is now read-only.

Commit

Permalink
Fix FontAwesome checkmark icon for the copy button inside code snippe…
Browse files Browse the repository at this point in the history
…ts as well as the plus icon in _yuga_content
  • Loading branch information
Andrew Cai committed Jun 20, 2019
1 parent c7dc178 commit 33798d8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 3 additions & 2 deletions styles/_toc.scss
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,9 @@ pre code.copy + textarea + button.copy, .copy pre code + textarea + button.copy,
position: absolute;
top: 0;
left: 0;
font: normal normal normal 18px/1 FontAwesome;
content: '\F00C';
font: normal normal normal 18px/1 'Font Awesome 5 Free';
font-weight: 900;
content: '\f00c';
color: #fff;
text-align: center;
border-radius: 2px;
Expand Down
3 changes: 2 additions & 1 deletion styles/_yuga_content.scss
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@
list-style-type: none;
&:before {
content: '\f067';
font-family: 'FontAwesome';
font-family: 'Font Awesome 5 Free';
font-weight: 900;
font-size: 13px;
background-color: transparent;
border: none;
Expand Down

0 comments on commit 33798d8

Please sign in to comment.