Skip to content
This repository has been archived by the owner on Jan 26, 2023. It is now read-only.

Add prefix to React component #183

Merged
merged 1 commit into from
May 11, 2017
Merged

Add prefix to React component #183

merged 1 commit into from
May 11, 2017

Conversation

jasmussen
Copy link
Collaborator

This is a teensy PR that only affects the built react component. It simply changes the output so that icons have a properly prefixed icon class, i.e. dashicons-button instead of plainly button, so as to avoid CSS bleed.

This is a teensy PR that only affects the built react component. It simply changes the output so that icons have a properly prefixed icon class, i.e. `dashicons-button` instead of plainly `button`, so as to avoid CSS bleed.
@jasmussen jasmussen requested a review from field2 May 11, 2017 10:44
jasmussen added a commit to WordPress/gutenberg that referenced this pull request May 11, 2017
This PR fixes #719, but adding a `dashicons-` prefix to the CSS classes applied to the SVGs.

It also changes the Button block to use the new button icon.

Upstream PR: WordPress/dashicons#183
@field2 field2 merged commit 9b200bc into master May 11, 2017
@field2 field2 deleted the add/react-icon-prefix branch May 11, 2017 12:12
@jasmussen
Copy link
Collaborator Author

Thanks Ben!

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

Successfully merging this pull request may close these issues.

2 participants