fix: restore homepage headline text selection (#3428)

This commit is contained in:
Vyctor H. Brzezowski
2026-08-05 21:59:45 -03:00
committed by GitHub
parent 3074701740
commit 31729d314c
2 changed files with 2 additions and 2 deletions
+2
View File
@@ -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('<span className="home-v2-action-word home-v2-static-headline">');
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"),
-2
View File
@@ -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;