Skip to content
TypeScript

fix(web): citation pills line up with the other composer chips (#19547)

Abhijeet Singh0224cd13ee38
diff --git a/apps/web/src/components/ComposerPromptEditorTiptap.tsx b/apps/web/src/components/ComposerPromptEditorTiptap.tsx
index b41bb61de60..f3ba1ee9542 100644
--- a/apps/web/src/components/ComposerPromptEditorTiptap.tsx
+++ b/apps/web/src/components/ComposerPromptEditorTiptap.tsx
@@ -428,7 +428,7 @@ function ComposerCitationNodeView({ node, editor, getPos }: NodeViewProps) {
return (
<NodeViewWrapper
as="span"
- className="inline-flex min-w-0 max-w-full select-none"
+ className={cn(CHIP_NODE_SELECTION_CLASS_NAME, "min-w-0 max-w-full")}
contentEditable={false}
spellCheck={false}
data-composer-citation-chip="true"