mirror of
https://github.com/FortAwesome/Font-Awesome.git
synced 2025-01-15 01:30:28 +08:00
removed before from placeholder for more versatility
This commit is contained in:
parent
37196fc8c9
commit
6a3cb2f404
@ -6,17 +6,17 @@
|
||||
@each $var in $fa-vars {
|
||||
//create icon placeholders
|
||||
%fa-#{nth($var, 1)} {
|
||||
&:before {
|
||||
content: nth($var, 2);
|
||||
}
|
||||
}
|
||||
|
||||
//create icon classes if enabled
|
||||
@if $fa-show-classes == true {
|
||||
.#{$fa-css-prefix}-#{nth($var, 1)} {
|
||||
&:before {
|
||||
@extend %fa-#{nth($var, 1)};
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@ -31,8 +31,10 @@
|
||||
//create icon classes if enabled
|
||||
@if $fa-show-classes == true {
|
||||
.#{$fa-css-prefix}-#{nth($alias, 1)} {
|
||||
&:before {
|
||||
@extend %fa-#{nth($alias, 2)};
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user