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
Tiny cosmetic issue: space between buttons in FormActions (Bootstrap) #62
Comments
.form-actions input {
margin: 0 2px;
} |
Sure, but just adding a space symbol to the template is much better. |
I don't disagree. But the simplest fix for now is a rule. You don't have to stick HTML(...) everywhere. |
This should fix cosmetic issue #GH-62 using HTML, as bootstrap doesn't now have CSS spacing by default.
Thanks for the heads up Dae, Also thanks @alydis for trying to help in the bug tracker, I appreciate it. I've pushed a fix for this issue in the Feel free to close the issue if you consider it solved. Cheers, |
Just letting you guys know that this fix breaks some fluid field layouts; it adds an unwanted margin on the bottom of the input[type=button]. |
This adds a huge margin to the bottom of the form when the children are floated. |
Yeah this change should definitely get reverted, it breaks a lot of layouts. BTW perry a "line-height: 0" on the container for the input removes the bottom margin, but it will likely have some other side effects depending on your situation. |
Ok, I'm going to be reverting it. Anyone has a suggestion on how to space buttons ? If I revert this, we will have buttons stick together. In the beginning bootstrap CSS spaced buttons, but apparently not anymore. If I copy paste bootstrap's form-actions example, the result is not the one they have on the site and I don't know why. |
This tag will be used to remove white spaces between tags, but leave spaces after buttons and inputs, necessary for formatting buttons with Boostrap. Related to #62
Hi @perry I've been working on a fix for this, that didn't involve removing It's all in Thanks, cheers |
@maraujop sorry for the delayed reply. That looks great, and works fine for me! Cheers, Perry |
Thanks a lot Perry for confirming it. I've just merged Cheers, |
I've released version 1.2.1, so I'm closing the issue. Thanks |
This code, when using the Bootstrap template
generates the following
As you can see the buttons are aligned contiguously because there is no space between
<input>
tags, while all Bootstrap examples include the space.A workaround would be to include
HTML('‌')
between Submits (and
wouldn't do because for some reason it generates two spaces), but I think it should be fixed somewhere in templates. Here's how they should look:Thanks for attention to my super tiny issue :)
The text was updated successfully, but these errors were encountered: