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

Wrap icon span in icon slot for ActionButton #1930

Merged
merged 1 commit into from
May 6, 2021

Conversation

raimund-schluessler
Copy link
Contributor

@raimund-schluessler raimund-schluessler commented May 5, 2021

This moves the icon span into the icon slot for the ActionButton component. This aligns it with the other Actions and prevents setting a background icon and providing an material design icon via slot. Nevermind, I just realized you can still provide a material design icon and have an icon set at the background.

But at least, this PR aligns it with how the other Action components handle it.

Closes #1925

Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
@raimund-schluessler raimund-schluessler added bug Something isn't working feature: actions Related to the actions components labels May 5, 2021
@raimund-schluessler raimund-schluessler added this to the 4.0.0 milestone May 5, 2021
@raimund-schluessler raimund-schluessler removed the bug Something isn't working label May 5, 2021
@skjnldsv skjnldsv merged commit 73b4d96 into master May 6, 2021
@skjnldsv skjnldsv deleted the fix/1925/action-button-icon branch May 6, 2021 10:00
@skjnldsv skjnldsv mentioned this pull request Jun 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature: actions Related to the actions components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Icon slot should wrap icon span in ActionButton
3 participants