Skip to content

New root defaults for inputs and buttons#42139

Merged
mdo merged 2 commits into
twbs:v6-devfrom
pricop:patch-3
Mar 10, 2026
Merged

New root defaults for inputs and buttons#42139
mdo merged 2 commits into
twbs:v6-devfrom
pricop:patch-3

Conversation

@pricop

@pricop pricop commented Mar 9, 2026

Copy link
Copy Markdown

In my opinion, both the buttons and the inputs on Bootstrap 6 are too large for what they're intended for.

This PR normalizes the difference between variants by making them more uniform, while also slightly adjusting their height.

It also makes it match more closely to BS4, BS5, Tailwind, Catalyst, etc.

I don't want to repeat everything that I've wrote in the v6 feedback, so kindly please have a read at: https://github.com/orgs/twbs/discussions/42138

Feel free to decline this PR if you believe the current defaults are fine.

Both the buttons and the inputs are too large for what they're designed for.

This PR normalizes the difference between variants by making them more uniform.

It also makes it match more closely to BS4, BS5, Tailwind, Catalyst, etc.

I don't want to repeat everything that I've wrote in the v6 feedback, so kindly please have a read at: https://github.com/orgs/twbs/discussions/42138

Feel free to decline this PR if you believe the current defaults are fine.
@pricop pricop requested a review from a team as a code owner March 9, 2026 03:45
Since line-height is `1.5`, the `-y` padding should have stayed the same at `.375rem` (that totals to `2.25rem` (`36px`) plus the borders, it's `2.375rem` (`38px)).
@pricop

pricop commented Mar 9, 2026

Copy link
Copy Markdown
Author

Forgot to mention, this PR would basically achieve what's described here: https://github.com/orgs/twbs/discussions/42090#discussioncomment-15882268

@mdo mdo added this to v6.0.0 Mar 10, 2026
@github-project-automation github-project-automation Bot moved this to Inbox in v6.0.0 Mar 10, 2026
@mdo mdo merged commit 2f6843d into twbs:v6-dev Mar 10, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Inbox

Development

Successfully merging this pull request may close these issues.

2 participants