rails_layout icon indicating copy to clipboard operation
rails_layout copied to clipboard

Padding/margin looks a bit off

Open oystersauce8 opened this issue 7 years ago • 1 comments

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

oystersauce8 avatar Oct 01 '18 00:10 oystersauce8

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

oystersauce8 avatar Jan 23 '19 14:01 oystersauce8