From e18250809ffbe91ee882c2b6a695f27226e33337 Mon Sep 17 00:00:00 2001 From: Zaid Jawed <87218997+zaidjawed@users.noreply.github.com> Date: Sat, 28 Aug 2021 20:48:57 +0530 Subject: [PATCH 1/2] reolved #34833 Issue: #34833 Resolved button size not respected when direct child of div with d-flex by adding align-self to center in ".btn" class. --- scss/_buttons.scss | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scss/_buttons.scss b/scss/_buttons.scss index ee4287c9201d..d52dd7101e73 100644 --- a/scss/_buttons.scss +++ b/scss/_buttons.scss @@ -4,6 +4,10 @@ .btn { display: inline-block; + + //button size not respected when direct child of div with d-flex #34833 + align-self: center; + font-family: $btn-font-family; font-weight: $btn-font-weight; line-height: $btn-line-height; From ce0fa2fe0e651c7fd473a5ab9022a0cb2a675eec Mon Sep 17 00:00:00 2001 From: Zaid Jawed <87218997+zaidjawed@users.noreply.github.com> Date: Wed, 1 Sep 2021 15:39:45 +0530 Subject: [PATCH 2/2] Update _buttons.scss --- scss/_buttons.scss | 3 --- 1 file changed, 3 deletions(-) diff --git a/scss/_buttons.scss b/scss/_buttons.scss index d52dd7101e73..fc72cde4d35a 100644 --- a/scss/_buttons.scss +++ b/scss/_buttons.scss @@ -4,10 +4,7 @@ .btn { display: inline-block; - - //button size not respected when direct child of div with d-flex #34833 align-self: center; - font-family: $btn-font-family; font-weight: $btn-font-weight; line-height: $btn-line-height;