style(ui): pull off-scale spacing and micro-labels onto the scale

Sweep the spacing rests that sat off the 1/1.5/2/3/4/6/8/10 scale: the
health-score panels and their skeleton, the recommendation ask-Coach
gutter, the onboarding tour footer, the vaccination row, the danger-zone
alert margins, the recovery-codes action wrapper, and the chart-tooltip
tile. Move the last hand-written micro-sizes (coach counters, the
personal-record badge, the score-ring label, the dose-history and
cycle-calendar headers, the mood tag chips) onto the text-2xs token, and
give the documents upload buttons the mobile tap floor their peers set.
This commit is contained in:
Marc-André Bombeck committed 2026-08-09 11:27:05 +02:00
1 parent b6332a96d9
commit 7f6eae8425
15 files changed
+29 -23

No files matched your search

+2 -2
View File
@@ -108,7 +108,7 @@ function DataResetCard() {
{msg && (
<p
role="alert"
className={`mt-3 text-sm ${msgType === "success" ? "text-success" : "text-destructive"}`}
className={`text-sm ${msgType === "success" ? "text-success" : "text-destructive"}`}
>
{msg}
</p>
@@ -246,7 +246,7 @@ function AccountDeleteCard() {
{msg && (
<p
role="alert"
className={`mt-3 text-sm ${msgType === "success" ? "text-success" : "text-destructive"}`}
className={`text-sm ${msgType === "success" ? "text-success" : "text-destructive"}`}
>
{msg}
</p>
@@ -72,13 +72,13 @@ export function DoseHistoryColumnRulings() {
<dt className="text-foreground flex flex-wrap items-baseline gap-x-2 text-xs">
<code className="font-mono">{ruling.column}</code>
<span
className="text-muted-foreground text-[0.6875rem] uppercase"
className="text-muted-foreground text-2xs uppercase"
data-verdict={ruling.verdict}
>
{verdictFor(ruling.verdict)}
</span>
{ruling.jsonOnly && (
<span className="text-muted-foreground text-[0.6875rem]">
<span className="text-muted-foreground text-2xs">
{t("settings.sections.export.import.doseHistory.jsonOnly")}
</span>
)}
@@ -325,9 +325,9 @@ export function TotpCard({
{/* ── Fresh recovery codes (post-confirm or post-regen) ── */}
{freshCodes && (
<div>
<div className="space-y-3">
<RecoveryCodesPanel codes={freshCodes} />
<SettingsCardActions className="mt-3">
<SettingsCardActions>
<Button
type="button"
variant="outline"