RailsApps / rails_layout

Generates Rails application layout files for various front-end frameworks.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Padding/margin looks a bit off

oystersauce8 opened this issue · comments

commented

The padding/margin for the generated bootstrap4 devise forms are not aesthetically pleasing.

I've been tweaking it like this:

cat >> app/assets/stylesheets/1st_load_framework.css.scss << 'eof'
// adjustments to rails_layout generated css
.authform form {
    /* padding-bottom: 40px; */
    padding: 17px 20px;
}

.authform {
    max-width: 400px;
}
// end adjustments to rails_layout generated css
eof
perl -pi -e 's/width:150px/width:150px; margin-top:1vw;/' app/views/devise/sessions/new.html.erb

but hoping me or someone else gets the time to send a PR to address it

commented

would you guys entertain a PR implementing/giving-the-option of "floating labels" for the registration/session/password forms?
I first saw it here -> https://getbootstrap.com/docs/4.0/examples/floating-labels/

And recently I see Netflix (https://www.netflix.com/login)
and Reddit (https://www.reddit.com/login)
also doing it.
/cc @DanielKehoe