]> git.ipfire.org Git - thirdparty/bootstrap.git/commit
updated button/form-control padding and line-height
authorMark Otto <markdotto@gmail.com>
Mon, 8 Feb 2016 06:46:50 +0000 (22:46 -0800)
committerMark Otto <markdotto@gmail.com>
Mon, 8 Feb 2016 06:46:50 +0000 (22:46 -0800)
commit38c93371c14e8caeefc08df356a11ae19d79fae8
tree777f3bc5e286072c3b143e62f0f3e385db1a564d
parenta16b2ef162a8292dec216172a32367f5d24da394
updated button/form-control padding and line-height

- Moves from no set line-height (inherited of 1.5) to declared 1.25 for
all inputs and buttons (regardless of size modifier).

- Updates padding to be `.5rem` instead of `.375rem` so that padding is
more likely to be whole numbers based on the root font-size.

- Whole numbers will be beneficial in avoiding odd fractional pixels
that can lead to misalignment as shown in #18607.

- Large buttons and inputs are now a tad wider, and smaller
buttons/inputs a tad shorter and narrower, too.
scss/_buttons.scss
scss/_forms.scss
scss/_variables.scss