diff --git a/src/__tests__/ui-design-contract.test.ts b/src/__tests__/ui-design-contract.test.ts index ed5d28e8..b079f93a 100644 --- a/src/__tests__/ui-design-contract.test.ts +++ b/src/__tests__/ui-design-contract.test.ts @@ -358,6 +358,8 @@ describe("restored UI design contract", () => { expect(homeSource).toContain('className="home-v2-main oc-app-surface"'); expect(homeSource).toContain("home-v2-headline oc-hero-title"); + expect(homeSource).toContain(''); + expect(cssRule(css, ".home-v2-headline")).not.toMatch(/(?:cursor: default|user-select: none)/); expect(cssRule(css, ".home-v2-static-headline")).toContain("color: var(--oc-accent-primary)"); expect(css.lastIndexOf(".home-v2-static-headline")).toBeGreaterThan( css.lastIndexOf(".home-v2-action-word"), diff --git a/src/styles.css b/src/styles.css index 53c36833..c7e8e2e6 100644 --- a/src/styles.css +++ b/src/styles.css @@ -21492,8 +21492,6 @@ a.search-empty-action { justify-content: center; text-align: center; color: var(--hv2-text); - cursor: default; - user-select: none; } .home-v2-headline-clear { max-width: 960px;