Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Icon with size medium overrides other icon that is specified. #39

Open
marudhupandiyang opened this issue Mar 15, 2018 · 1 comment
Open

Comments

@marudhupandiyang
Copy link

The below code

<Icon name="gift" size="medium" /> {item.text} </Icon>

renders the below html

<i aria-hidden="true" class="gift medium icon"></i>

Here, the gift icon is overridden by medium icon.

screen shot 2018-03-15 at 12 00 53

@marudhupandiyang
Copy link
Author

Currently as a workaround, i have moved medium icon styles to top of the file in my project.
https://github.com/Semantic-Org/Semantic-UI-LESS/blob/master/themes/default/elements/icon.overrides#L889

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant