Skip to content

docs: size the version check input to its content - #23505

Merged
bluwy merged 2 commits into
vitejs:mainfrom
CSY54:main
Sep 18, 2026
Merged

bluwy merged 2 commits into
vitejs:mainfrom
CSY54:main

Conversation

@CSY54

@CSY54 CSY54 commented Sep 17, 2026 •

Copy link
Copy Markdown
Contributor

Replace width: 100px with field-sizing: content.
Use field-sizing: content if supported. For unsupported browsers, keep the current behaviour.

Before After
Screenshot 2026-09-17 at 15 54 33 Screenshot 2026-09-17 at 15 53 01

Note that field-sizing: content only reach baseline on June 2026 (caniuse), and i didn't find any Browserslist config or documented minimum-browser-support policy for the docs site. On unsupported browsers, this falls back to the default fixed-size input behavior.

Closes #23504

@CSY54
CSY54 marked this pull request as draft September 17, 2026 10:38
@CSY54
CSY54 marked this pull request as ready for review September 17, 2026 10:57

@bluwy bluwy left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks great. Thanks!

@bluwy
bluwy merged commit e9078f8 into vitejs:main Sep 18, 2026
14 checks passed
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.

The version-check input on the Releases page doesn't fit the version string

2 participants