Skip to content

Commit

Permalink
Ensure brand icons are correctly rendered
Browse files Browse the repository at this point in the history
  • Loading branch information
bennothommo committed Apr 8, 2024
1 parent 16e01dc commit e9739c1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion modules/system/assets/ui/icons.css

Large diffs are not rendered by default.

8 changes: 8 additions & 0 deletions modules/system/assets/ui/less/icon.icons.less
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,11 @@ each(.fa-icons(), {
content: @value;
}
});

each(.fa-brand-icons(), {
@scope: ~':is(.icon-@{key},.wn-icon-@{key},.oc-icon-@{key})';
@{scope}:before {
font-family: 'Font Awesome 6 Brands';
content: @value;
}
});

0 comments on commit e9739c1

Please sign in to comment.