From 9145cc8279abb6d9ca73e18d82d6816e386cdab3 Mon Sep 17 00:00:00 2001 From: wojtask9 Date: Mon, 2 Oct 2017 19:15:32 +0200 Subject: [PATCH] fix .col-form-label paddings and add line-height (#23121) --- scss/_forms.scss | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/scss/_forms.scss b/scss/_forms.scss index fb3dc55992..69429fdef8 100644 --- a/scss/_forms.scss +++ b/scss/_forms.scss @@ -88,21 +88,24 @@ select.form-control { // For use with horizontal and inline forms, when you need the label text to // align with the form controls. .col-form-label { - padding-top: calc(#{$input-btn-padding-y} - #{$input-btn-border-width} * 2); - padding-bottom: calc(#{$input-btn-padding-y} - #{$input-btn-border-width} * 2); + padding-top: calc(#{$input-btn-padding-y} + #{$input-btn-border-width}); + padding-bottom: calc(#{$input-btn-padding-y} + #{$input-btn-border-width}); margin-bottom: 0; // Override the `