mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-14 22:50:51 +00:00
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:
1 parent
b6332a96d9
commit
7f6eae8425
15 files changed
+29
-23
No files matched your search
@@ -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"
|
||||
|
||||
Reference in new issue
Block a user