diff --git a/packages/website/e2e/hub.spec.ts b/packages/website/e2e/hub.spec.ts index 2c19e63856..70aecb6d5d 100644 --- a/packages/website/e2e/hub.spec.ts +++ b/packages/website/e2e/hub.spec.ts @@ -85,3 +85,11 @@ test("source names fit on a narrow phone", async ({ page }) => { await expectSourceLabelFits(page, "Schedules"); await expectSourceLabelFits(page, "Webhooks"); }); + +test("source names remain readable with larger text on a phone", async ({ page }) => { + await openHub(page, 375); + await page.addStyleTag({ content: "html { font-size: 125%; }" }); + for (const name of ["GitHub", "Discord", "Schedules", "Webhooks"]) { + await expectSourceLabelFits(page, name); + } +}); diff --git a/packages/website/src/components/hub-automations/hub-automations-showcase.tsx b/packages/website/src/components/hub-automations/hub-automations-showcase.tsx index 5b0db0a84b..d489d483b6 100644 --- a/packages/website/src/components/hub-automations/hub-automations-showcase.tsx +++ b/packages/website/src/components/hub-automations/hub-automations-showcase.tsx @@ -193,7 +193,7 @@ function SourceTabButton({