Merge pull request #2782 from alexandrevryghem/fix-font-awesome-5-icons_contribute-7.6

Fixed Font Awesome CSS Pseudo-elements not rendering in v6.x
This commit is contained in:
Tim Donohue
2024-04-10 16:51:37 -05:00
committed by GitHub
2 changed files with 4 additions and 6 deletions

View File

@@ -3,10 +3,9 @@ form {
&:before { &:before {
pointer-events: none; // prevent the icon from catching the click pointer-events: none; // prevent the icon from catching the click
position: absolute; position: absolute;
font-weight: 900; font: var(--fa-font-solid);
font-family: "Font Awesome 5 Free";
content: "\f0d7"; content: "\f0d7";
top: 7px; top: 10px;
right: 0; right: 0;
height: 20px; height: 20px;
width: 20px; width: 20px;

View File

@@ -2,10 +2,9 @@ form {
&:before { &:before {
pointer-events: none; // prevent the icon from catching the click pointer-events: none; // prevent the icon from catching the click
position: absolute; position: absolute;
font-weight: 900; font: var(--fa-font-solid);
font-family: "Font Awesome 5 Free";
content: "\f0d7"; content: "\f0d7";
top: 7px; top: 10px;
right: 0; right: 0;
height: 20px; height: 20px;
width: 20px; width: 20px;