aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam A. Horvath-Hunt <[email protected]>2015-12-29 14:41:21 +0000
committerSam A. Horvath-Hunt <[email protected]>2015-12-29 14:41:21 +0000
commitf7a43ed6b7f5eab48b818b3379ae82c45fd1c291 (patch)
tree9e9e93858c51c13071d28ed35aa1608d12e4ef9d
parent699c6bb383d0c0179ff0b895ce0520b005db28b1 (diff)
downloadbootstrap-f7a43ed6b7f5eab48b818b3379ae82c45fd1c291.tar.xz
bootstrap-f7a43ed6b7f5eab48b818b3379ae82c45fd1c291.zip
Add max-width to file browser; fixes #18651
-rw-r--r--scss/_custom-forms.scss2
1 files changed, 2 insertions, 0 deletions
diff --git a/scss/_custom-forms.scss b/scss/_custom-forms.scss
index b418b84d4..4ffe79a6c 100644
--- a/scss/_custom-forms.scss
+++ b/scss/_custom-forms.scss
@@ -175,11 +175,13 @@
.file {
position: relative;
display: inline-block;
+ max-width: 100%;
height: 2.5rem;
cursor: pointer;
}
.file input {
min-width: 14rem;
+ max-width: 100%;
margin: 0;
filter: alpha(opacity = 0);
opacity: 0;