fix: align login buttons; move helper links to their own line

Log in / Continue with SSO now sit in a wrapping button row; "Forgot password? ·
Create an account" moves to a left-aligned line below instead of being crammed
beside the button (where "Create an account" wrapped and misaligned).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
etalon
2026-06-13 12:53:15 +02:00
parent c4f666209c
commit 0dcc0bc823
2 changed files with 6 additions and 7 deletions
+1
View File
@@ -566,6 +566,7 @@ body[data-nav=side] #tab-audit {
.muted { color: var(--muted); }
.spread { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.login-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 16px; }
.stack > * + * { margin-top: 16px; }
.mt { margin-top: 16px; }
+5 -7
View File
@@ -16,15 +16,13 @@
<label for="password">Password</label>
<input type="password" id="password" name="password" autocomplete="current-password" required>
</div>
<div class="spread">
<div class="login-actions">
<button class="btn primary" type="submit">Log in</button>
<span><a href="/forgot-password">Forgot password?</a> · <a href="/register">Create an account</a></span>
{{if .OIDCEnabled}}<a class="btn" href="/api/v1/auth/oidc/login">Continue with SSO</a>{{end}}
</div>
</form>
{{if .OIDCEnabled}}
<div class="mt">
<a class="btn" href="/api/v1/auth/oidc/login">Continue with SSO</a>
</div>
{{end}}
<p class="muted mt" style="margin-bottom:0">
<a href="/forgot-password">Forgot password?</a> · <a href="/register">Create an account</a>
</p>
</div>
{{end}}