-
Bug
-
Resolution: Fixed
-
Normal
-
8.5.0, 9.5.1.3
-
None
-
None
-
None
Steps to Reproduce
1. run the zul
Current Result
some icons have different size from others by default
z-icon-times-circle, z-icon-close
Expected Result
all icons have the same size by default
Debug Information
- use case: when an app developer uses z-icon-check-circle and z-icon-times-circle to show validation pass or failure. The size difference between 2 icons make app developers inconvenient because they have to adjust css to make icons the same size. But the benefit to include font awesome is to give developers convenience. Hence, this inconsistent size weakens this benefit.
- I set a larger font size in order to make the size difference obviously.
- the root cause is ZK85Icons under iceblue, breeze don't have this bug
[class^="z-icon-"], [class*=" z-icon-"] { font-family: ZK85Icons, FontAwesome; }
- these icons have the same size in Font Awesome, application developers will expect the same size as well.
Workaround
override all icon with font-family: FontAwesome;