0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-17 09:52:29 +01: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 {
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;