Merge pull request #4578 from consul/fix_font_icon_content

Fix content and line-height in SVG font icons
This commit is contained in:
Javi Martín
2021-07-02 19:16:43 +02:00
committed by GitHub
2 changed files with 4 additions and 2 deletions

View File

@@ -5,6 +5,8 @@
@import "font-awesome-sprockets";
@import "font-awesome/variables";
@import "font-awesome/path";
@import "font-awesome/mixins";
@import "font-awesome/core";
@import "jquery-ui/autocomplete";
@import "jquery-ui/datepicker";
@import "jquery-ui/sortable";

View File

@@ -1,5 +1,5 @@
%font-icon {
display: inline-block;
@extend %fa-icon;
font-family: "Font Awesome 5 Free";
vertical-align: middle;
}
@@ -7,7 +7,7 @@
%svg-icon {
@supports (mask-image: url()) {
background: currentcolor;
content: "";
content: "" !important;
height: 1em;
mask-repeat: no-repeat;
mask-size: 100% 100%;