Fix oversized gap between login form fields
.fields > div's flex:1 1 180px is a WIDTH basis meant for the horizontal balance-fields row - in LoginView's column layout that same 180px became a HEIGHT basis instead, stretching each email/password wrapper to ~180px tall. Not padding/margin, a flex-basis axis mismatch.
This commit is contained in:
parent
94096554e9
commit
35b378751f
|
|
@ -447,7 +447,13 @@ tr.editing td{ background:rgba(37,99,235,.03); }
|
|||
|
||||
.login-page{ min-height:100vh; display:flex; align-items:center; justify-content:center; padding:24px; }
|
||||
.login-card{ width:100%; max-width:360px; margin-bottom:0; }
|
||||
/* .fields > div's own flex:1 1 180px is a WIDTH basis, meant for the
|
||||
horizontal balance-fields row - in this column layout that same
|
||||
180px becomes a HEIGHT basis instead, stretching each field wrapper
|
||||
to ~180px tall (the actual bug behind "a lot of padding between the
|
||||
fields" - it isn't padding, it's each wrapper being forced tall). */
|
||||
.login-card .fields{ flex-direction:column; margin-bottom:18px; }
|
||||
.login-card .fields > div{ flex:none; }
|
||||
.login-submit{ width:100%; margin-top:4px; }
|
||||
.login-google{ width:100%; margin-top:10px; }
|
||||
.login-mode-toggle{
|
||||
|
|
|
|||
Loading…
Reference in New Issue