From 90d94b741dc53c26b9c22743328805c12ca10b1e Mon Sep 17 00:00:00 2001 From: Niklas Ye Date: Sat, 10 Oct 2026 16:29:51 +0200 Subject: [PATCH] Pad the empty Team card and space the Settings environment section The "You are not in a team yet." card was a bare .card, which has no padding, so the text sat against the border. The "From the environment" heading follows the settings form in the same card and h3 has no margin, so it touched the Save button; space it with a rule scoped to a heading that directly follows .admin-settings. Claude-Session: https://claude.ai/code/session_016mBLURvJoMuUEr9cB2RpUN --- internal/web/static/app.css | 2 ++ internal/web/static/js/team.js | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/internal/web/static/app.css b/internal/web/static/app.css index 956695e..621f17d 100644 --- a/internal/web/static/app.css +++ b/internal/web/static/app.css @@ -998,6 +998,8 @@ kbd { .admin-settings .setting-value { width: 5.5em; margin-right: 6px; } .admin-settings .setting-unit { max-width: 8em; } .admin-settings button[type="submit"] { margin-top: 12px; } +/* The environment section follows the form in the same card; h3 has no margin of its own. */ +.admin-settings + h3 { margin-top: 24px; } .small { font-size: 13px; } /* A name in an admin table is the way to that row's own page -- a person's or diff --git a/internal/web/static/js/team.js b/internal/web/static/js/team.js index ffd97ac..79ea6a1 100644 --- a/internal/web/static/js/team.js +++ b/internal/web/static/js/team.js @@ -139,7 +139,7 @@ function render() { if (!data) { clear(view(), error ? h('div', { class: 'load-error', text: error }) - : h('div', { class: 'card' }, h('p', { class: 'muted', text: 'You are not in a team yet.' }))); + : h('div', { class: 'card card-pad' }, h('p', { class: 'muted', text: 'You are not in a team yet.' }))); return; } clear(view(),