Skip to content

Commit

Permalink
Add possibility to append alt tags to include-icon mixin
Browse files Browse the repository at this point in the history
  • Loading branch information
zoglo committed Oct 30, 2024
1 parent 2d60986 commit dd4fd10
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions public/framework/scss/ctm_utils/_mixins/_icon.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@mixin icon($content, $font-size: 1em, $line-height: 1) {
content: $content;
@mixin icon($content, $font-size: 1em, $line-height: 1, $alt: '') {
content: $content / $alt;
display: inline-block;
font: normal normal normal #{$font-size} $icon-font-family;
line-height: $line-height;
Expand Down

0 comments on commit dd4fd10

Please sign in to comment.