-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
[Input] Dropdown and input heights do not match in a form #4279
Comments
It appears to be 1px off as stated |
After spending 30 minutes puttering around on this and changing tons of rules, I found the final solve to be extremely simple. The global |
I'm pretty sure this is still a problem, or at least I'm still dealing with it. See updated fiddle here, using CDN for css: http://jsfiddle.net/rxjfnkwj/ I believe the problem has to do with the fact that dropdowns and buttons have text inside them which establish the line height. The height then responds to the line height + padding. Whereas for the input, there is just the placeholder text, and the total height doesn't change as you increase the padding or the line height... at least when I inspect the element and adjust the line height, nothing changes, but the total height DOES change when I adjust the padding. So, I went about trying to change both @inputPadding in site.variables and @padding in input.variables, but I can't seem to get those changes to affect the final input padding... |
I was able to adjust the padding for form inputs in form.variables by doing... That seemed to fix the issue for inputs that were contained inside forms. |
See example in http://semantic-ui.com/collections/form.html#form, Billing Information: CVC and Expiration fields are next to each other and Expiration is ~1px higher.
We think this bug came with version 2.2
The text was updated successfully, but these errors were encountered: