Give the Cards account panels their inner spacing

The account section's text touched the panel borders because nds-panel has no
padding of its own.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Shinuwa 2026-11-05 18:34:30 +01:00
parent f649f391f9
commit 66d84e2528

View file

@ -856,10 +856,12 @@ main:has(.nebula-dashboard) { overflow-x: clip; }
// Compte du joueur et notice de confidentialité.
.nebula-account { display: grid; gap: var(--space-4); }
.nebula-account-summary dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: var(--space-3); margin: var(--space-3) 0 0; }
.nebula-account > .nds-panel { display: grid; gap: var(--space-3); padding: var(--space-4); }
.nebula-account > .nds-panel > :is(h3, p) { margin: 0; }
.nebula-account-summary dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: var(--space-3); margin: 0; }
.nebula-account-summary dt { color: var(--color-text-muted); font-size: var(--font-size-xs); }
.nebula-account-summary dd { margin: 0; overflow-wrap: anywhere; }
.nebula-account-delete > .nds-button { justify-self: start; margin-top: var(--space-3); }
.nebula-account-delete > .nds-button { justify-self: start; }
.nebula-privacy-details { margin-top: var(--space-3); color: var(--color-text-muted); font-size: var(--font-size-xs); }
.nebula-privacy-details summary { width: fit-content; cursor: pointer; }
.nebula-privacy-details summary:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }