diff --git a/src/__tests__/pwa-mobile-shell-guard.test.ts b/src/__tests__/pwa-mobile-shell-guard.test.ts index 74da13d74..ad045d3d8 100644 --- a/src/__tests__/pwa-mobile-shell-guard.test.ts +++ b/src/__tests__/pwa-mobile-shell-guard.test.ts @@ -9,17 +9,21 @@ * 5 px content box and pushed the logo across its bottom border). * 2. The stylesheet carries the rules the shell and the keyboard bridge * depend on. - * 3. Every form-field primitive keeps 16 px type on a touch screen: iOS - * Safari zooms the page into a focused field below 16 px, and a width + * 3. Every form field keeps 16 px type on a touch screen: iOS Safari + * zooms the page into a focused field below 16 px, and a width * breakpoint alone (`md:text-sm`) handed 14 px to a phone held sideways * and to every iPad. The small size is allowed only behind - * `pointer-fine:`. + * `pointer-fine:`. That holds for the primitives and for every call + * site, whose `text-sm` replaces the primitive's size, and for a raw + * `
-{t("settings.sections.export.cards.fullBackup.passphraseHelp")} diff --git a/src/components/settings/import-panel/csv-import-card.tsx b/src/components/settings/import-panel/csv-import-card.tsx index a7c149ae1..b51b58866 100644 --- a/src/components/settings/import-panel/csv-import-card.tsx +++ b/src/components/settings/import-panel/csv-import-card.tsx @@ -130,7 +130,7 @@ export function CsvImportCard() { maxLength={MAX_PASTE_CHARS} spellCheck={false} placeholder="type,value,unit,measuredAt,…" - className="font-mono text-xs" + className="font-mono sm:pointer-fine:text-xs" />
{t("settings.sections.export.import.charCount", { diff --git a/src/components/settings/import-panel/dose-history-import-card.tsx b/src/components/settings/import-panel/dose-history-import-card.tsx index 87d9baf21..3ec48caa8 100644 --- a/src/components/settings/import-panel/dose-history-import-card.tsx +++ b/src/components/settings/import-panel/dose-history-import-card.tsx @@ -234,7 +234,7 @@ export function DoseHistoryImportCard() { maxLength={MAX_PASTE_CHARS} spellCheck={false} placeholder="Date,Scheduled Date,Medication,…" - className="font-mono text-xs" + className="font-mono sm:pointer-fine:text-xs" />
{t("settings.sections.export.import.charCount", { diff --git a/src/components/settings/import-panel/json-import-card.tsx b/src/components/settings/import-panel/json-import-card.tsx index 791cd76b1..9d9dfef6d 100644 --- a/src/components/settings/import-panel/json-import-card.tsx +++ b/src/components/settings/import-panel/json-import-card.tsx @@ -211,7 +211,7 @@ export function JsonImportCard() { maxLength={MAX_PASTE_CHARS} spellCheck={false} placeholder='{"measurements":[…],"moodEntries":[…]}' - className="font-mono text-xs" + className="font-mono sm:pointer-fine:text-xs" />
{t("settings.sections.export.import.charCount", {