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
Improve button UI with icon #317
Conversation
All of these paddings and rtl can be avoided if you simply use |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess it looks fine, but didn't tested it yet so!
Looks good for me. One thing though. I see some duplications throughout the theme (not specific to this PR): hummingbird/src/scss/partials/_helpers.scss Lines 39 to 49 in 5c5319f
Can I remove these and just use Bootstrap classes hummingbird/src/scss/partials/_helpers.scss Lines 51 to 53 in 5c5319f
This also could be removed. Adding |
Feel free, you're welcome! |
Fixes #241
btn-with-icon:
Vertical alignment for icons inside buttons (inline-flex)
The size of icon and gap will be changed based on button size (btn-sm, btn, btn-lg):
Variables
SCSS