diff options
author | Gaƫl Poupard <ffoodd@users.noreply.github.com> | 2020-05-05 20:43:16 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-05 20:43:16 +0300 |
commit | fb0ad7a93c658c21be88344a11fcafb403ed87c6 (patch) | |
tree | 63c776c7f3652cd2f2139849b3962505b6a4113f /scss | |
parent | 6f7c8d3caf5afdf85cdc8e9f14d4f7cdfdb1e209 (diff) |
Fix form file height (#30699)
Diffstat (limited to 'scss')
-rw-r--r-- | scss/forms/_form-file.scss | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/scss/forms/_form-file.scss b/scss/forms/_form-file.scss index 947f77aca6..5bc4afc695 100644 --- a/scss/forms/_form-file.scss +++ b/scss/forms/_form-file.scss @@ -1,13 +1,13 @@ .form-file { + --bs-form-file-height: #{$form-file-height}; position: relative; - height: $form-file-height; } .form-file-input { position: relative; z-index: 2; width: 100%; - height: 100%; + height: var(--bs-form-file-height); margin: 0; opacity: 0; @@ -32,7 +32,7 @@ left: 0; z-index: 1; display: flex; - height: 100%; + height: var(--bs-form-file-height); border-color: $form-file-border-color; @include border-radius($form-file-border-radius); @include box-shadow($form-file-box-shadow); @@ -71,7 +71,7 @@ } .form-file-sm { - height: $form-file-height-sm; + --bs-form-file-height: #{$form-file-height-sm}; @include font-size($form-file-font-size-sm); .form-file-text, @@ -81,7 +81,7 @@ } .form-file-lg { - height: $form-file-height-lg; + --bs-form-file-height: #{$form-file-height-lg}; @include font-size($form-file-font-size-lg); .form-file-text, |