Semantic-Org / Semantic-UI-CSS

CSS Only distribution
http://www.semantic-ui.com
MIT License
489 stars 360 forks source link

Using an Icon in a Header ignores Icon size prop #73

Open adamvanaken opened 3 years ago

adamvanaken commented 3 years ago

Bug Report

Steps

Using an Icon in a Header ignores the Icon size prop.

I understand that I could easily override the styling, but I don't want to potentially break or miss out on future styling updates by doing so.

Expected Result

I would expect to be able to size Icons inside Headers.

Actual Result

The .ui.header>.icon style overrides the font-size that, as an example, the i.small.icon style sets.

Version

2.0.4

Testcase

https://codesandbox.io/s/semantic-ui-react-forked-38ue7

image