-
Notifications
You must be signed in to change notification settings - Fork 2.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
Button alignment in aligned form (on small screen sizes) #469
Comments
The problem is with the margin on the submit button. To fix this problem immediately, adjust the margin for |
In other words, this has nothing to do with the form being
I'm investigating why this is the case. |
So, this rule was written to give submit buttons a little extra margin when the screen size is small and the buttons tend to stack vertically. I think this decision should be revisited and possibly this declaration should be removed. This will take some time to consider and test, so I'll create a task for myself. For now, you can either change the margin as I mentioned above, or just use an input instead of a button. That is, change |
@jamesalley thought that might be the case - I was looking around the docs for full-width buttons (trying to familiarize myself with the codebase) can you point me to where that is? I didn't see it in the buttons section. |
I don't think there are any full-width button constructs, you'll have to add a class for that yourself. |
e.g.,
Pretty trivial customization to do yourself. We try not to add too many features to Pure, as it would get big and feature discovery would be tough. |
Thank you for the quick support. |
On small screen sizes, the vertical alignment of different button kinds differs
(using an aligned form and the 'pure-controls' button container)
On larger screens:
On smaller screens:
Demo here: http://jsfiddle.net/prjm/vuz8m663/
Am I missing something?
The text was updated successfully, but these errors were encountered: