-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Issue 10416 - input-group buttons not sized properly #10456
Issue 10416 - input-group buttons not sized properly #10456
Conversation
Adjusted height for flex mode to fill parent container. Added two tests - one for flex/xygrid and the other for flow mode.
Thanks digging it in! |
@gskaplan Please rename |
Renamed and new PR created. |
scss/forms/_input-group.scss
Outdated
@@ -107,6 +107,7 @@ $input-prefix-padding: 1rem !default; | |||
|
|||
@if $global-flexbox { | |||
flex: 0 0 auto; | |||
display: flex; |
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.
Display first and then flex
shorthand property
See https://github.com/zurb/foundation-sites/blob/develop/.sass-lint.yml#L151-L153
…input-group-buttons-sizing
As suggested by @IamManchanda: #10456 (comment)
Re-order CSS properties
Thanks... |
Excellent work. Thanks @gskaplan! And congratulations on first merged PR! |
This fix resolve the issue where input-group-buttons aren't filling up the entire space of the parent container. Thanks to @rafibomb for helping with the code. This relates to issue #10416.
Please review as necessary. @IamManchanda.