mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-15 15:02:04 +00:00
chore(misc): auth padding, daily-briefing links, tab fade, trends min-h, list metadata, passkey badge
v1.4.27 MB7 — residual surface polish bundled into a single commit: - CF-61: the auth login + register cards drop `p-8` to `p-6 sm:p-8` so Galaxy Fold / Pixel 5 keep the card breathable instead of surrendering half the visible viewport to padding. - CF-68: each daily-briefing key-finding row wraps in a `<Link>` to the matching routed sub-page so the whole card is tappable on mobile. Metrics without a dedicated sub-page (HRV, resting HR, steps, …) render the legacy static row. - CF-70: the sleep-stage window-toggle row bumps from `gap-1` to `gap-1.5` so the active pill border doesn't fuse with the inactive neighbour on Pixel 5. - CF-71: the trends-row card `min-h-[300px]` floor moves behind a `md:` gate so mobile single-column doesn't eat dead space below a short chart. - CF-72: the insights tab-strip paints a right-edge fade gradient on `<sm` so the user reads "there's more to scroll" when the pill row overflows. - CF-46: the measurement-list filter row stacks vertically on `<sm` so the `w-48` SelectTrigger doesn't crowd the count caption to a 2-line wrap. - CF-76: the measurement-list mobile-row badges bump from `text-[10px]` to `text-[11px]` so the metadata holds the legibility floor. - CF-75: the passkey mobile card promotes the device-type from plain text to an outline Badge so the chip row reads consistent with the desktop table column. - MA2-F8: the medikamente page card header wraps the title in `min-w-0` + `truncate` so long medication names don't push the streak badge off the card on Galaxy Fold.
This commit is contained in:
1 parent
ab4529fcb3
commit
0b3f9e3e2c
9 files changed
+148
-26
No files matched your search
@@ -833,11 +833,17 @@ function PasskeyListSection({ isAuthenticated }: { isAuthenticated: boolean }) {
|
||||
<div className="flex items-start justify-between gap-2">
|
||||
<div className="min-w-0 flex-1">
|
||||
<p className="truncate text-sm font-medium">{pk.name}</p>
|
||||
<p className="text-muted-foreground text-xs">
|
||||
{DEVICE_TYPE_LABELS[pk.credentialDeviceType] ??
|
||||
pk.credentialDeviceType}
|
||||
</p>
|
||||
{/* v1.4.27 MB7 / CF-75 — promote the device-type from
|
||||
plain text to an outline Badge so the mobile card
|
||||
list reads consistent with the desktop table's
|
||||
"Single-device / Multi-device" column. Sits on the
|
||||
same chip row as the backup status and date so all
|
||||
metadata reads as a single horizontal stride. */}
|
||||
<div className="mt-1 flex flex-wrap items-center gap-1.5 text-[11px]">
|
||||
<Badge variant="outline" className="text-[11px]">
|
||||
{DEVICE_TYPE_LABELS[pk.credentialDeviceType] ??
|
||||
pk.credentialDeviceType}
|
||||
</Badge>
|
||||
<Badge
|
||||
variant={pk.credentialBackedUp ? "secondary" : "outline"}
|
||||
className="text-[11px]"
|
||||
|
||||
Reference in new issue
Block a user