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

Commit 33798d8

Browse files
author
Andrew Cai
committed
Fix FontAwesome checkmark icon for the copy button inside code snippets as well as the plus icon in _yuga_content
1 parent c7dc178 commit 33798d8

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

styles/_toc.scss

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,9 @@ pre code.copy + textarea + button.copy, .copy pre code + textarea + button.copy,
8888
position: absolute;
8989
top: 0;
9090
left: 0;
91-
font: normal normal normal 18px/1 FontAwesome;
92-
content: '\F00C';
91+
font: normal normal normal 18px/1 'Font Awesome 5 Free';
92+
font-weight: 900;
93+
content: '\f00c';
9394
color: #fff;
9495
text-align: center;
9596
border-radius: 2px;

styles/_yuga_content.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@
4343
list-style-type: none;
4444
&:before {
4545
content: '\f067';
46-
font-family: 'FontAwesome';
46+
font-family: 'Font Awesome 5 Free';
47+
font-weight: 900;
4748
font-size: 13px;
4849
background-color: transparent;
4950
border: none;

0 commit comments

Comments
 (0)