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