Skip to content

Change not to set the size attribute to svg element#377

Merged
kamijin-fanta merged 1 commit intoreact-icons:masterfrom
wmoai:fix/svg-attributes
Nov 26, 2020
Merged

Change not to set the size attribute to svg element#377
kamijin-fanta merged 1 commit intoreact-icons:masterfrom
wmoai:fix/svg-attributes

Conversation

@wmoai
Copy link
Copy Markdown
Contributor

@wmoai wmoai commented Nov 25, 2020

When use the size property to change icon size, the size attribute is set to svg element like this.

スクリーンショット 2020-11-25 17 55 49 2

But the size attribute is not allowed on svg element, so this PR changes not to set the size attribute to svg element.

@kamijin-fanta kamijin-fanta merged commit 5001fa0 into react-icons:master Nov 26, 2020
@kamijin-fanta
Copy link
Copy Markdown
Member

tanks!!

@wmoai wmoai deleted the fix/svg-attributes branch November 27, 2020 02:55
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

Successfully merging this pull request may close these issues.

2 participants