diff --git a/packages/session-ui/component-tests/session-message-projection.spec.ts b/packages/session-ui/component-tests/session-message-projection.spec.ts index deadea368ea..c218c7ba09c 100644 --- a/packages/session-ui/component-tests/session-message-projection.spec.ts +++ b/packages/session-ui/component-tests/session-message-projection.spec.ts @@ -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( diff --git a/packages/session-ui/src/components/message-part.css b/packages/session-ui/src/components/message-part.css index 25ae7ed8954..26ef7c21eee 100644 --- a/packages/session-ui/src/components/message-part.css +++ b/packages/session-ui/src/components/message-part.css @@ -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;