Skip to content

Commit

Permalink
Add comment for ZK-3800 side effect
Browse files Browse the repository at this point in the history
  • Loading branch information
JamsonChan authored and DevChu committed Oct 6, 2023
1 parent 44dac5b commit fef2c40
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions zul/src/main/resources/web/zul/less/font/_core.less
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
.@{fa-css-prefix}-regular,
.fab,
.@{fa-css-prefix}-brands {
// NOTICE that this part is to avoid the side effects of B85-ZK-3800,
// so keep the settings from FontAwesome 4.7.0 instead of 6.4.2.
// Be careful when modifying, the margins of the icon may change.
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
Expand Down

0 comments on commit fef2c40

Please sign in to comment.