Skip to content
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

Buttons wraps onto multiple lines when space is lacking (on mobile devices) #57

Open
mlt opened this issue Jan 20, 2017 · 0 comments
Open

Comments

@mlt
Copy link
Contributor

mlt commented Jan 20, 2017

Provided there are little too many columns, if there are multiple buttons on a row, they will wrap up onto multiple lines. This tremendously increases amount to scroll around vertically. There is a closed twbs issue https://github.com/twbs/bootstrap/issues/ number 9939 (I don't want to pollute that issue). Apparently one way is to set width to prevent wrapping. While one can specify width for button, that will go towards td and not div with btn-group 🙁 One way to handle this would be to pass opt as locals to buttons template and use it there instead (by deleting from opts?) of td.

TL;DR apparently .btn-group { display: flex; } is more than enough. Add it by default and close this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant