Fix firefox display issue

This commit is contained in:
Andre D 2015-06-23 21:53:47 -04:00
parent e7cbc9fcab
commit 9b3cb6fe86
2 changed files with 9 additions and 2 deletions

View file

@ -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>

View file

@ -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)