1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-18 11:21:23 +02:00

Add max-width to file browser; fixes #18651

This commit is contained in:
Sam A. Horvath-Hunt
2015-12-29 14:41:21 +00:00
parent 699c6bb383
commit f7a43ed6b7

View File

@@ -175,11 +175,13 @@
.file { .file {
position: relative; position: relative;
display: inline-block; display: inline-block;
max-width: 100%;
height: 2.5rem; height: 2.5rem;
cursor: pointer; cursor: pointer;
} }
.file input { .file input {
min-width: 14rem; min-width: 14rem;
max-width: 100%;
margin: 0; margin: 0;
filter: alpha(opacity = 0); filter: alpha(opacity = 0);
opacity: 0; opacity: 0;