Merge pull request #476 from rgarmsen2295/mm-1915

MM-1915 Added white background to non-image file previews
Этот коммит содержится в:
Corey Hulen
2015-08-25 16:49:48 -07:00
родитель 3ba4914b49 146b349183
Коммит d653dc18e4
2 изменённых файлов: 5 добавлений и 0 удалений

Просмотреть файл

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

Просмотреть файл

@@ -124,3 +124,7 @@ div.theme {
.black-bg {
background-color: black !important;
}
.white-bg {
background-color: white !important;
}