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 10, 2021
1 parent eeb6b1f commit 23e4ec6
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 @@ -279,11 +279,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 23e4ec6

Please sign in to comment.