Input field width

24 views
Skip to first unread message

paul.er...@gmail.com

unread,
Jan 27, 2015, 8:39:13 AM1/27/15
to plataformate...@googlegroups.com
I've installed the 'simple_form' gem for a Rails app.
All the input fields are 100% of page width.
I don't see how to change this.
All the form elements are wrapped with <div class="form-inputs">
But I can't find where that class is defined.

Thanks,

Paul

Carlos Antonio da Silva

unread,
Jan 27, 2015, 8:47:24 AM1/27/15
to plataformate...@googlegroups.com
Simple Form does not handle any css for you, it might be that some css is doing that, like bootstrap or a custom css you might have in your app.

Also, you can take a look if any "size" attribute is being generated in your inputs, they might increase the input size in case it's not css. (although latest versions of simple form do not generate the size attribute anymore).

Hope that helps.

--
You received this message because you are subscribed to the Google Groups "SimpleForm" group.
To unsubscribe from this group and stop receiving emails from it, send an email to plataformatec-simp...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
At.
Carlos Antonio
Reply all
Reply to author
Forward
0 new messages