Tiny cosmetic issue: space between buttons in FormActions (Bootstrap)
See original GitHub issueThis code, when using the Bootstrap template
FormActions(
Submit('save_changes', 'Save', css_class='btn-primary'),
Submit('cancel', 'Cancel'),
)
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 😃
Issue Analytics
- State:
- Created 11 years ago
- Comments:13 (5 by maintainers)
Top Results From Across the Web
How to give spacing between buttons using bootstrap
You can achieved by use bootstrap Spacing. Bootstrap Spacing includes a wide range of shorthand responsive margin and padding. In below example mr-1...
Read more >Button group - Bootstrap
Combine sets of button groups into button toolbars for more complex components. Use utility classes as needed to space out groups, buttons, and...
Read more >Bootstrap Textarea input free examples, templates & tutorial
Responsive Textarea with Bootstrap 5. How to change textarea height, size, width and style. Examples of textarea editor, comment, contact form, checkout &...
Read more >22 Best Practical Bootstrap File Uploads (In 2022) - Colorlib
We looked for different sources to equip you with the best 22 Bootstrap file uploads that cater to any web application and website....
Read more >before - CSS: Cascading Style Sheets - MDN Web Docs
In CSS, ::before creates a pseudo-element that is the first child of the selected element. It is often used to add cosmetic content...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’ve released version 1.2.1, so I’m closing the issue. Thanks
Thanks a lot Perry for confirming it. I’ve just merged
specialspaceless
intodev
branch.Cheers, Miguel