Fix firefox display issue
This commit is contained in:
parent
e7cbc9fcab
commit
9b3cb6fe86
2 changed files with 9 additions and 2 deletions
|
@ -28,12 +28,11 @@
|
|||
|
||||
.contentarea .boxarea {
|
||||
text-align: center;
|
||||
display: table-cell;
|
||||
vertical-align: middle;
|
||||
display: table-cell;
|
||||
}
|
||||
|
||||
.contentarea {
|
||||
display: table;
|
||||
color: white;
|
||||
margin: 0;
|
||||
text-align: center;
|
||||
|
@ -336,6 +335,12 @@
|
|||
color: white;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#uploadview .centerview {
|
||||
display: table;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
</style>
|
||||
<script src="/static/deps/jquery-2.1.4.min.js"></script>
|
||||
<script src="/static/js/shims.js"></script>
|
||||
|
|
|
@ -8,6 +8,7 @@ upload.modules.addmodule({
|
|||
</div>\
|
||||
</div>\
|
||||
<div class="contentarea" id="uploadview">\
|
||||
<div class="centerview">\
|
||||
<div id="pastearea" class="boxarea">\
|
||||
<h1>Upload</h1>\
|
||||
</div>\
|
||||
|
@ -22,6 +23,7 @@ upload.modules.addmodule({
|
|||
<form>\
|
||||
<input type="file" id="filepicker" class="hidden" />\
|
||||
</form>\
|
||||
</div>\
|
||||
</div>',
|
||||
init: function () {
|
||||
upload.modules.setdefault(this)
|
||||
|
|
Loading…
Reference in a new issue