| ... | ... | @@ -72,8 +72,8 @@ import { cn, isMacPlatform } from "~/lib/utils"; |
| 72 | 72 | import { basenameOfPath } from "~/pierre-icons"; |
| 73 | 73 | import { |
| 74 | 74 | COMPOSER_INLINE_CHIP_ICON_CLASS_NAME, |
| 75 | | COMPOSER_INLINE_CHIP_LABEL_CLASS_NAME, |
| 76 | 75 | COMPOSER_INLINE_SKILL_CHIP_CLASS_NAME, |
| 76 | COMPOSER_INLINE_SKILL_CHIP_LABEL_CLASS_NAME, |
| 77 | 77 | SKILL_CHIP_ICON_SVG, |
| 78 | 78 | } from "./composerInlineChip"; |
| 79 | 79 | import { FILE_TAG_CHIP_CLASS_NAME, FileTagChipContent } from "./chat/FileTagChip"; |
| ... | ... | @@ -188,7 +188,7 @@ class ComposerMentionNode extends DecoratorNode<React.ReactElement> { |
| 188 | 188 | |
| 189 | 189 | override createDOM(): HTMLElement { |
| 190 | 190 | const dom = document.createElement("span"); |
| 191 | | dom.className = "composer-inline-chip relative inline-flex align-middle leading-none"; |
| 191 | dom.className = "composer-inline-chip relative inline-flex align-[-0.125em] leading-none"; |
| 192 | 192 | return dom; |
| 193 | 193 | } |
| 194 | 194 | |
| ... | ... | @@ -256,7 +256,7 @@ function ComposerSkillDecorator(props: { skillLabel: string; skillDescription: s |
| 256 | 256 | className={COMPOSER_INLINE_CHIP_ICON_CLASS_NAME} |
| 257 | 257 | dangerouslySetInnerHTML={{ __html: SKILL_CHIP_ICON_SVG }} |
| 258 | 258 | /> |
| 259 | | <span className={COMPOSER_INLINE_CHIP_LABEL_CLASS_NAME}>{props.skillLabel}</span> |
| 259 | <span className={COMPOSER_INLINE_SKILL_CHIP_LABEL_CLASS_NAME}>{props.skillLabel}</span> |
| 260 | 260 | </span> |
| 261 | 261 | ); |
| 262 | 262 | |
| ... | ... | @@ -326,7 +326,7 @@ class ComposerSkillNode extends DecoratorNode<React.ReactElement> { |
| 326 | 326 | |
| 327 | 327 | override createDOM(): HTMLElement { |
| 328 | 328 | const dom = document.createElement("span"); |
| 329 | | dom.className = "composer-inline-chip relative inline-flex align-middle leading-none"; |
| 329 | dom.className = "composer-inline-chip relative inline-flex align-[-0.125em] leading-none"; |
| 330 | 330 | return dom; |
| 331 | 331 | } |
| 332 | 332 | |
| ... | ... | @@ -397,7 +397,7 @@ class ComposerTerminalContextNode extends DecoratorNode<React.ReactElement> { |
| 397 | 397 | |
| 398 | 398 | override createDOM(): HTMLElement { |
| 399 | 399 | const dom = document.createElement("span"); |
| 400 | | dom.className = "composer-inline-chip relative inline-flex align-middle leading-none"; |
| 400 | dom.className = "composer-inline-chip relative inline-flex align-[-0.125em] leading-none"; |
| 401 | 401 | return dom; |
| 402 | 402 | } |
| 403 | 403 | |