fix(web): align composer inline chips with prompt text #5495
MergedStiensWout(GitHub profile, opens in a new tab)merged 3 commits into
main fromrefs/pull/5495/headmerged by maria-rcks View on GitHubgithub-actions[bot](GitHub profile, opens in a new tab) added labelsvouch:unvouched
github-actions[bot](GitHub profile, opens in a new tab) added labelssize:XS
StiensWout(GitHub profile, opens in a new tab) changed the title
github-actions[bot](GitHub profile, opens in a new tab) removed labelssize:XS
github-actions[bot](GitHub profile, opens in a new tab) added labelssize:S
- apps/web/src/components/composerInlineChip.ts line 17OutdatedResolvedby cursor[bot](GitHub profile, opens in a new tab)@@ -12,4 +12,6 @@12121313 export const CHAT_INLINE_CHIP_LABEL_CLASS_NAME = "truncate leading-tight";141415-export const COMPOSER_INLINE_CHIP_LABEL_CLASS_NAME = `${CHAT_INLINE_CHIP_LABEL_CLASS_NAME} select-none`;15+// The composer label is smaller than the surrounding prompt text; offset its16+// glyphs without moving the pill box or changing the editor's line height.17+export const COMPOSER_INLINE_CHIP_LABEL_CLASS_NAME = `${CHAT_INLINE_CHIP_LABEL_CLASS_NAME} relative top-[0.15em] select-none`;
StiensWout(GitHub profile, opens in a new tab) changed the title
macroscopeapp[bot](GitHub profile, opens in a new tab) approved these changes
maria-rcks merged thisaa16c18
maria-rcks closed this
Sign in to join this conversation.




Important
Review skipped#
Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the
.coderabbit.yamlfile in this repository. To trigger a single review, invoke the@coderabbitai reviewcommand.⚙️ Run configuration
Configuration used: Repository UI
Review profile: CHILL
Plan: Pro Plus
Run ID:
a6e1ce37-fba2-4fa8-930b-cb6a5edef11cYou can disable this status message by setting the
reviews.review_statustofalsein the CodeRabbit configuration file.Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
❤️ Share