mirror of
https://github.com/openclaw/clawhub.git
synced 2026-08-14 00:47:57 +00:00
fix: restore homepage headline text selection (#3428)
This commit is contained in:
@@ -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"),
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user