mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-10 05:12:14 +00:00
Add healthlog/spacing-scale (error): pt-*/pb-* on CardHeader/CardContent fights the gap-based Card contract — the header→body distance comes from the parent flex gap, so slot padding stacks on top of it or is a no-op. This is the drift class the earlier slot-padding sweep cleaned; the rule keeps it from reaccumulating. Density belongs on the Card itself (gap-2 py-3 md:py-4). No allowlist — an exception, should one ever be load-bearing, carries an inline disable with its reason. Remove the two stragglers the rule caught: pb-1 on the device-score tile and pb-4 md:pb-6 on the intake history list, both stacking dead padding on top of the card gap. RuleTester coverage for the modifier-prefixed, arbitrary-value, cn()/ternary/template and member-expression forms.