groups: a group that lends nothing keeps its name centered
The detail header's tighter top padding is for a name over a grid.
A group with no address or note renders no grid, and the tighter top
left its name sitting high in the card; it now keeps the body's even
padding.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MUeUZZ5774jTPhGrwGDcfN
diff --git a/public/admin.css b/public/admin.css
index f6b9598..0bbf689 100644
--- a/public/admin.css
+++ b/public/admin.css
@@ -72,8 +72,10 @@
and the m of air above it read as blank space rather than as
room to read in (the detail-header, both on the contact's own
page and in a walk's read screen — ContactCard, the one
- renderer). */
-.card-body:has(> .detail-header:first-child) {
+ renderer). Only over a grid: a group that lends nothing renders
+ none (Admin::GroupsShow), and its name alone keeps the body's
+ even padding, centered in the card. */
+.card-body:has(> .detail-header:first-child + .detail-grid) {
padding-block-start: var(--gl-space-s);
}