From 35b378751fdc9afef712f5bb19ec168679dbc238 Mon Sep 17 00:00:00 2001 From: JasonFraser Date: Tue, 13 Oct 2026 00:33:04 -0400 Subject: [PATCH] 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. --- frontend/src/assets/main.css | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/frontend/src/assets/main.css b/frontend/src/assets/main.css index 1101124..d791fda 100644 --- a/frontend/src/assets/main.css +++ b/frontend/src/assets/main.css @@ -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{