mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-15 23:12:04 +00:00
Fix settings field rows, defaults and narrow layouts
Module rows drop the field-label colon and inset, the reminder number fields align, target defaults print at their own precision, the appointment offer wraps instead of squeezing to one word per line, the export format legend matches its neighbour label, and the profile-photo explainer reads as body text.
This commit is contained in:
1 parent
2dda933d77
commit
37f922af97
10 files changed
+41
-19
No files matched your search
@@ -98,7 +98,10 @@ export function ModuleToggleRow({
|
||||
aria-hidden="true"
|
||||
/>
|
||||
<div className="min-w-0 space-y-0.5">
|
||||
<Label htmlFor={inputId} className="text-sm font-medium">
|
||||
{/* A row title beside a switch, not a field label: no colon, and
|
||||
on the description's left edge (the primitive's `pl-1` would
|
||||
inset it), matching the admin `SettingsToggle` rows. */}
|
||||
<Label htmlFor={inputId} noColon className="pl-0 text-sm font-medium">
|
||||
{label}
|
||||
</Label>
|
||||
<p className="text-muted-foreground text-xs">{description}</p>
|
||||
|
||||
Reference in new issue
Block a user