mirror of
https://github.com/anomalyco/opencode.git
synced 2026-11-14 03:56:55 +03:00
fix(session-ui): show pointer cursor on user message links (#57304)
Co-authored-by: Brendonovich <14191578+Brendonovich@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
Unverified
parent
7a0520bbff
commit
ee04c57d05
@@ -95,6 +95,7 @@ story("links URLs in user messages without swallowing punctuation or mentions",
|
||||
await expect(links.nth(0)).toHaveText("https://github.com/Hona/mesh")
|
||||
await expect(links.nth(0)).toHaveAttribute("href", "https://github.com/Hona/mesh")
|
||||
await expect(links.nth(0)).toHaveAttribute("target", "_blank")
|
||||
await expect(links.nth(0)).toHaveCSS("cursor", "pointer")
|
||||
await expect(links.nth(1)).toHaveText("https://opencode.ai/docs")
|
||||
await expect(timeline.getByText("@src/a.ts", { exact: true })).toBeVisible()
|
||||
await expect(timeline.locator('[data-slot="user-message-text"]')).toHaveText(
|
||||
|
||||
@@ -200,6 +200,7 @@
|
||||
text-decoration: underline;
|
||||
text-decoration-color: color-mix(in oklch, currentColor 40%, transparent);
|
||||
text-underline-offset: 2px;
|
||||
cursor: pointer;
|
||||
|
||||
&:hover {
|
||||
text-decoration-color: currentColor;
|
||||
|
||||
Reference in New Issue
Block a user