Skip to content

Commit

Permalink
Use a Font Awesome icon in recommendations
Browse files Browse the repository at this point in the history
We've deprecated the "icons" font since we started using Font Awesome
two years ago and using it caused some screen readers to announce an "l"
before the content of every list item.
  • Loading branch information
javierm committed Jul 13, 2021
1 parent e7b37ae commit 0dfabc8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/assets/stylesheets/participation.scss
Original file line number Diff line number Diff line change
Expand Up @@ -250,11 +250,11 @@
margin-top: $line-height;

li {
@include has-fa-icon(check, solid);
margin: $line-height / 2 0;

&::before {
content: "l ";
font-family: "icons" !important;
margin-right: $font-icon-margin * 1.5;
}
}
}
Expand Down

0 comments on commit 0dfabc8

Please sign in to comment.