Added white background to non-image files (was previously transparent

This commit is contained in:
Reed Garmsen
2015-08-25 16:17:25 -07:00
parent 3ba4914b49
commit 146b349183
2 changed files with 5 additions and 0 deletions
+1
View File
@@ -224,6 +224,7 @@ module.exports = React.createClass({
</div>
</div>
);
bgClass = 'white-bg';
// asynchronously request the actual size of this file
if (!(filename in this.state.fileSizes)) {
+4
View File
@@ -124,3 +124,7 @@ div.theme {
.black-bg {
background-color: black !important;
}
.white-bg {
background-color: white !important;
}