Skip to content

set flex-shrink to zero on icons in resource page to avoid shrinkage - #9591

Merged
taylorsilva merged 1 commit into
masterfrom
resource-page-icons
Jun 4, 2026
Merged

taylorsilva merged 1 commit into
masterfrom
resource-page-icons

Conversation

@taylorsilva

Copy link
Copy Markdown
Member

Changes proposed by this PR

When the version string is very long, the "enabled" and "pinned" icons next to a resource version would shrink to thin rectangles. Setting flex-shrink: 0 ensures they don't collapse like this when the version string is long and overflowing.

Before
image

After
image

when the version string is very long and overflowing.

Signed-off-by: Taylor Silva <[email protected]>
@taylorsilva
taylorsilva requested a review from a team June 4, 2026 16:57
@taylorsilva taylorsilva added the bug label Jun 4, 2026
@taylorsilva
taylorsilva merged commit 22ccaf2 into master Jun 4, 2026
12 checks passed
@taylorsilva
taylorsilva deleted the resource-page-icons branch June 4, 2026 20:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant