aboutsummaryrefslogtreecommitdiff
path: root/scss
diff options
context:
space:
mode:
authorZaid Jawed <[email protected]>2021-09-08 01:51:57 +0530
committerGitHub <[email protected]>2021-09-07 13:21:57 -0700
commit94c80ff613dce6620591acd7f9930ce8f40c5ed0 (patch)
tree6311f8c82f84117eff88695fd245034e2ccfa2fe /scss
parent0d81d3cbc14dfcdca8a868e3f25189a4f1ab273c (diff)
downloadbootstrap-94c80ff613dce6620591acd7f9930ce8f40c5ed0.tar.xz
bootstrap-94c80ff613dce6620591acd7f9930ce8f40c5ed0.zip
Add `align-self: center` to buttons for improved rendering in flex containers
Fixes #34834
Diffstat (limited to 'scss')
-rw-r--r--scss/_buttons.scss1
1 files changed, 1 insertions, 0 deletions
diff --git a/scss/_buttons.scss b/scss/_buttons.scss
index ee4287c92..fc72cde4d 100644
--- a/scss/_buttons.scss
+++ b/scss/_buttons.scss
@@ -4,6 +4,7 @@
.btn {
display: inline-block;
+ align-self: center;
font-family: $btn-font-family;
font-weight: $btn-font-weight;
line-height: $btn-line-height;