]> git.ipfire.org Git - thirdparty/bootstrap.git/commit
New root defaults for inputs and buttons (#42139)
authorpricop <pricop.info@gmail.com>
Tue, 10 Mar 2026 21:20:14 +0000 (23:20 +0200)
committerGitHub <noreply@github.com>
Tue, 10 Mar 2026 21:20:14 +0000 (14:20 -0700)
commit2f6843d2a0198c8705b9cc75aa43f6924aea9209
treed610847740fff632bf51727d6af76803f0292564
parent0c1a38545d6ff5c1c9895eba4a7742946adcad7b
New root defaults for inputs and buttons (#42139)

* New root defaults for inputs and buttons

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.

* Adjust button input vertical padding

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)).
scss/_root.scss