Merge pull request #9 from avail/patch-1

Fix 'File' button not showing up on IE
This commit is contained in:
Eric Johansson (neku) 2015-04-06 20:48:44 +02:00
commit 4aefb1d3f3
3 changed files with 7 additions and 1 deletions

5
css/ie.css Normal file
View File

@ -0,0 +1,5 @@
.ie-btn-fix {
float: left;
position: relative;
margin-top: -50px;
}

View File

@ -9,6 +9,7 @@
<link rel="shortcut icon" href="img/favicon.ico" type="image/x-icon">
<!-- materialize -->
<link type="text/css" rel="stylesheet" href="css/materialize.min.css" media="screen,projection"/>
<link type="text/css" rel="stylesheet" href="css/ie.css" media="screen,projection"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
<script type="text/javascript" src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
<script type="text/javascript" src="js/materialize.min.js"></script>

View File

@ -3,7 +3,7 @@
<input type="hidden" name="MAX_FILE_SIZE" value="150000000" />
<div class="file-field input-field">
<input class="file-path validate" type="text" readonly="readonly"/>
<div class="btn">
<div class="btn ie-btn-fix">
<span>File</span>
<input id="file" type="file" name="file" />
</div>