1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-22 13:13:03 +02:00

Merge pull request #18716 from SamHH/v4-dev

Add max-width to file browser; fixes #18651
This commit is contained in:
Patrick H. Lauke
2015-12-29 16:20:24 +00:00

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;