Skip to content

Commit

Permalink
Fix B85-ZK-3800, icon's height changed after F100-ZK-5119
Browse files Browse the repository at this point in the history
  • Loading branch information
JamsonChan committed Oct 2, 2023
1 parent 055ef99 commit 60fd266
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
10 changes: 5 additions & 5 deletions zul/src/main/resources/web/zul/less/font/_core.less
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@
.@{fa-css-prefix}-regular,
.fab,
.@{fa-css-prefix}-brands {
-moz-osx-font-smoothing: grayscale;
display: inline-block;
font: normal normal normal @fa-font-size-base/@fa-line-height-base FontAwesome; // shortening font declaration
font-size: inherit; // can't have font-size inherit on line above, so need to override
text-rendering: auto; // optimizelegibility throws things off #1094
-webkit-font-smoothing: antialiased;
display: ~'var(--@{fa-css-prefix}-display, @{fa-display})';
font-style: normal;
font-variant: normal;
text-rendering: auto;
-moz-osx-font-smoothing: grayscale;
}

.fas,
Expand Down
2 changes: 2 additions & 0 deletions zul/src/main/resources/web/zul/less/font/_variables.less
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
@fa-style-family : 'FontAwesome';

@fa-display : inline-block;
@fa-font-size-base : 14px;
@fa-line-height-base : 1;

@fa-fw-width : (20em / 16);
@fa-inverse : #fff;
Expand Down

0 comments on commit 60fd266

Please sign in to comment.