Skip to content

💄 Prevent Tag component stretching#1290

Open
arkadiy93 wants to merge 1 commit into
mainfrom
fix/tagSizing
Open

💄 Prevent Tag component stretching#1290
arkadiy93 wants to merge 1 commit into
mainfrom
fix/tagSizing

Conversation

@arkadiy93
Copy link
Copy Markdown
Contributor

image

Tag component stretches unnecessarily

Copilot AI review requested due to automatic review settings June 3, 2026 13:27
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Prevents the Tag molecule from stretching to fill its parent container by making the container shrink-wrap its contents, improving visual consistency in layouts (notably when used as a grid item).

Changes:

  • Add width: fit-content; to the Tag container styles to avoid unnecessary horizontal stretching.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jun 3, 2026

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 100% (🎯 100%) 17400 / 17400
🔵 Statements 100% (🎯 100%) 17400 / 17400
🔵 Functions 100% (🎯 100%) 1278 / 1278
🔵 Branches 100% (🎯 100%) 4449 / 4449
File Coverage
File Stmts Branches Functions Lines Uncovered Lines
Changed Files
src/molecules/Tag/Tag.tsx 100% 100% 100% 100%
Generated in workflow #2319 for commit 2cddacd by the Vitest Coverage Report Action

@arkadiy93 arkadiy93 marked this pull request as ready for review June 3, 2026 13:57
@arkadiy93 arkadiy93 requested a review from a team as a code owner June 3, 2026 13:57
@arkadiy93 arkadiy93 requested a review from aslakihle June 3, 2026 13:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants