Commit 139e8923 authored by Mark Otto's avatar Mark Otto Committed by Mark Otto
Browse files

Simplify custom file inner height for generated browse button

parent 7c53a8a1
3 merge requests!28721Hot test,!27561Adds font-weight-medium to font weight classes,!26470Active class
Showing with 2 additions and 1 deletion
+2 -1
...@@ -286,7 +286,7 @@ ...@@ -286,7 +286,7 @@
bottom: 0; bottom: 0;
z-index: 3; z-index: 3;
display: block; display: block;
height: calc(#{$custom-file-height} - #{$custom-file-border-width} * 2); height: $custom-file-height-inner;
padding: $custom-file-padding-y $custom-file-padding-x; padding: $custom-file-padding-y $custom-file-padding-x;
line-height: $custom-file-line-height; line-height: $custom-file-line-height;
color: $custom-file-button-color; color: $custom-file-button-color;
......
...@@ -526,6 +526,7 @@ $custom-range-thumb-focus-box-shadow: 0 0 0 1px $body-bg, $input-btn-focus-box-s ...@@ -526,6 +526,7 @@ $custom-range-thumb-focus-box-shadow: 0 0 0 1px $body-bg, $input-btn-focus-box-s
$custom-range-thumb-active-bg: lighten($component-active-bg, 35%) !default; $custom-range-thumb-active-bg: lighten($component-active-bg, 35%) !default;
$custom-file-height: $input-height !default; $custom-file-height: $input-height !default;
$custom-file-height-inner: $input-height-inner !default;
$custom-file-focus-border-color: $input-focus-border-color !default; $custom-file-focus-border-color: $input-focus-border-color !default;
$custom-file-focus-box-shadow: $input-btn-focus-box-shadow !default; $custom-file-focus-box-shadow: $input-btn-focus-box-shadow !default;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment