aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick H. Lauke <[email protected]>2015-12-29 16:20:24 +0000
committerPatrick H. Lauke <[email protected]>2015-12-29 16:20:24 +0000
commit400d09f3c0b579ee53050c7cd2dd73caed922544 (patch)
tree9e9e93858c51c13071d28ed35aa1608d12e4ef9d
parent699c6bb383d0c0179ff0b895ce0520b005db28b1 (diff)
parentf7a43ed6b7f5eab48b818b3379ae82c45fd1c291 (diff)
downloadbootstrap-400d09f3c0b579ee53050c7cd2dd73caed922544.tar.xz
bootstrap-400d09f3c0b579ee53050c7cd2dd73caed922544.zip
Merge pull request #18716 from SamHH/v4-dev
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;