diff --git a/scss/_variables.scss b/scss/_variables.scss index 9db91c73a159..150706256b78 100644 --- a/scss/_variables.scss +++ b/scss/_variables.scss @@ -1069,11 +1069,13 @@ $form-file-button-hover-bg: var(--#{$prefix}secondary-bg) !default; // scss-docs-start form-floating-variables $form-floating-height: add(3.5rem, $input-height-border) !default; -$form-floating-line-height: 1.25 !default; +$form-floating-line-height: 1.375 !default; $form-floating-padding-x: $input-padding-x !default; $form-floating-padding-y: 1rem !default; $form-floating-input-padding-t: 1.625rem !default; $form-floating-input-padding-b: .625rem !default; +$form-floating-select-padding-t: 1.25rem !default; +$form-floating-select-padding-b: .25rem !default; $form-floating-label-height: 1.5em !default; $form-floating-label-opacity: .65 !default; $form-floating-label-transform: scale(.85) translateY(-.5rem) translateX(.15rem) !default; diff --git a/scss/forms/_floating-labels.scss b/scss/forms/_floating-labels.scss index 38df115561b8..c1975052b58b 100644 --- a/scss/forms/_floating-labels.scss +++ b/scss/forms/_floating-labels.scss @@ -49,8 +49,8 @@ } > .form-select { - padding-top: $form-floating-input-padding-t; - padding-bottom: $form-floating-input-padding-b; + padding-top: $form-floating-select-padding-t; + padding-bottom: $form-floating-select-padding-b; padding-left: $form-floating-padding-x; }