Skip to content

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

@adamvanaken

Description

@adamvanaken

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions