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
This commit is contained in:
Niklas Ye
2026-10-10 16:29:51 +02:00
parent fcc4997dee
commit 90d94b741d
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -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
+1 -1
View File
@@ -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(),