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

Responsive form-horizontal #375

Closed
flec opened this issue Jan 6, 2018 · 2 comments
Closed

Responsive form-horizontal #375

flec opened this issue Jan 6, 2018 · 2 comments

Comments

@flec
Copy link

flec commented Jan 6, 2018

Is there a possibility to have horizontal form responsive, meaning that the form is only horizontal on specific screen sizes (eg. desktop and tablet)? When using col-xs-12 for both label and field to have the label above the field, the form is still horizontal but both label and field are 100%.
https://jsfiddle.net/179g1nn0/1/

@Randore
Copy link

Randore commented Jan 8, 2018

.form-horizontal .form-group {
display: flex;
display: -ms-flexbox;
flex-wrap: wrap;
}

This will work

@picturepan2
Copy link
Owner

@Randore Thank you. I am adding your suggestion to the Spectre.

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

No branches or pull requests

3 participants