Skip to content

Commit b4d7934

Browse files
Yuruzuuclaude
andcommitted
fix(web): composer link icons use the link color
Co-Authored-By: Claude Opus 5.5 <[email protected]>
1 parent a6c46a0 commit b4d7934

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

‎apps/web/src/components/composerLinkDecorations.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ export const ComposerLinkExtension = Extension.create({
5454
pos: link.from,
5555
key: `composer-link-favicon:${link.host}:${occurrence}`,
5656
props: { host: link.host },
57+
className: "composer-link-icon",
5758
side: -1,
5859
}),
5960
Decoration.Inline(link.from, link.to, { class: "composer-link" }),

‎apps/web/src/index.css‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2441,7 +2441,8 @@ code {
24412441
padding: 0.05em 0.25em;
24422442
}
24432443

2444-
.composer-tiptap .composer-link {
2444+
.composer-tiptap .composer-link,
2445+
.composer-tiptap .composer-link-icon {
24452446
color: var(--info-foreground);
24462447
}
24472448

0 commit comments

Comments
 (0)