Merge pull request #476 from rgarmsen2295/mm-1915
MM-1915 Added white background to non-image file previews
Этот коммит содержится в:
@@ -224,6 +224,7 @@ module.exports = React.createClass({
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
bgClass = 'white-bg';
|
||||||
|
|
||||||
// asynchronously request the actual size of this file
|
// asynchronously request the actual size of this file
|
||||||
if (!(filename in this.state.fileSizes)) {
|
if (!(filename in this.state.fileSizes)) {
|
||||||
|
|||||||
@@ -124,3 +124,7 @@ div.theme {
|
|||||||
.black-bg {
|
.black-bg {
|
||||||
background-color: black !important;
|
background-color: black !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.white-bg {
|
||||||
|
background-color: white !important;
|
||||||
|
}
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user