1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-31 00:59:51 +02:00

Keep input group & form label font size in sync with form control font size (#27663)

This commit is contained in:
Martijn Cuppens
2018-11-13 21:11:59 +01:00
committed by GitHub
parent fceee8d093
commit fab1dea927
2 changed files with 4 additions and 4 deletions

View File

@@ -95,14 +95,14 @@ select.form-control {
.col-form-label-lg {
padding-top: calc(#{$input-padding-y-lg} + #{$input-border-width});
padding-bottom: calc(#{$input-padding-y-lg} + #{$input-border-width});
font-size: $font-size-lg;
font-size: $input-font-size-lg;
line-height: $input-line-height-lg;
}
.col-form-label-sm {
padding-top: calc(#{$input-padding-y-sm} + #{$input-border-width});
padding-bottom: calc(#{$input-padding-y-sm} + #{$input-border-width});
font-size: $font-size-sm;
font-size: $input-font-size-sm;
line-height: $input-line-height-sm;
}