]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Add `align-self: center` to buttons for improved rendering in flex containers
authorZaid Jawed <87218997+zaidjawed@users.noreply.github.com>
Tue, 7 Sep 2021 20:21:57 +0000 (01:51 +0530)
committerGitHub <noreply@github.com>
Tue, 7 Sep 2021 20:21:57 +0000 (13:21 -0700)
Fixes #34834

scss/_buttons.scss

index ee4287c9201d3035e6b7fc38935836e53fd25597..fc72cde4d35a7d8df9eb38215035276e7bcab9cd 100644 (file)
@@ -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;