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:
opencode-agent[bot]
2026-10-20 06:11:32 +00:00
committed by GitHub
Unverified
parent 7a0520bbff
commit ee04c57d05
2 changed files with 2 additions and 0 deletions
@@ -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;