forked from gitbot/uguu
Merge pull request #9 from avail/patch-1
Fix 'File' button not showing up on IE
This commit is contained in:
commit
4aefb1d3f3
5
css/ie.css
Normal file
5
css/ie.css
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
.ie-btn-fix {
|
||||||
|
float: left;
|
||||||
|
position: relative;
|
||||||
|
margin-top: -50px;
|
||||||
|
}
|
@ -9,6 +9,7 @@
|
|||||||
<link rel="shortcut icon" href="img/favicon.ico" type="image/x-icon">
|
<link rel="shortcut icon" href="img/favicon.ico" type="image/x-icon">
|
||||||
<!-- materialize -->
|
<!-- materialize -->
|
||||||
<link type="text/css" rel="stylesheet" href="css/materialize.min.css" media="screen,projection"/>
|
<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"/>
|
<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="https://code.jquery.com/jquery-2.1.1.min.js"></script>
|
||||||
<script type="text/javascript" src="js/materialize.min.js"></script>
|
<script type="text/javascript" src="js/materialize.min.js"></script>
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
<input type="hidden" name="MAX_FILE_SIZE" value="150000000" />
|
<input type="hidden" name="MAX_FILE_SIZE" value="150000000" />
|
||||||
<div class="file-field input-field">
|
<div class="file-field input-field">
|
||||||
<input class="file-path validate" type="text" readonly="readonly"/>
|
<input class="file-path validate" type="text" readonly="readonly"/>
|
||||||
<div class="btn">
|
<div class="btn ie-btn-fix">
|
||||||
<span>File</span>
|
<span>File</span>
|
||||||
<input id="file" type="file" name="file" />
|
<input id="file" type="file" name="file" />
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user