Pad admin cards so content isn't flush against the border
The admin views used bare .card, which has no padding; add card-pad. Claude-Session: https://claude.ai/code/session_016mBLURvJoMuUEr9cB2RpUN
This commit is contained in:
@@ -76,7 +76,7 @@ async function load() {
|
||||
|
||||
function render() {
|
||||
if (!state.me?.user?.is_admin) {
|
||||
clear(view(), h('div', { class: 'card' },
|
||||
clear(view(), h('div', { class: 'card card-pad' },
|
||||
h('p', { class: 'muted', text: 'Administration is for system administrators. Ask one for access.' })));
|
||||
return;
|
||||
}
|
||||
@@ -152,7 +152,7 @@ function teamsCard() {
|
||||
h('td', { class: 'num', text: String(t.open_incidents) }),
|
||||
));
|
||||
|
||||
return h('div', { class: 'card' },
|
||||
return h('div', { class: 'card card-pad' },
|
||||
h('h2', { text: 'Teams' }),
|
||||
h('p', { class: 'muted small' },
|
||||
'Open a team for who is in it, the invites into it, and renaming or ',
|
||||
@@ -229,7 +229,7 @@ function usersCard() {
|
||||
);
|
||||
});
|
||||
|
||||
return h('div', { class: 'card' },
|
||||
return h('div', { class: 'card card-pad' },
|
||||
h('h2', { text: 'Users' }),
|
||||
h('p', { class: 'muted small' },
|
||||
'Disabling an account stops it signing in and stops its API keys, and keeps ',
|
||||
@@ -368,7 +368,7 @@ function settingsCard() {
|
||||
h('td', {}, h('code', { text: k })),
|
||||
h('td', { class: 'muted', text: v === '' ? '(unset)' : v })));
|
||||
|
||||
return h('div', { class: 'card' },
|
||||
return h('div', { class: 'card card-pad' },
|
||||
h('h2', { text: 'Settings' }),
|
||||
h('p', { class: 'muted small', text: 'Saved changes take effect on the next sweep — no restart.' }),
|
||||
form,
|
||||
|
||||
Reference in New Issue
Block a user