fix: when in dark reader mode, the transparent image has a very bad display

This commit is contained in:
xiaoyifang 2023-03-28 16:59:24 +08:00 committed by xiaoyifang
parent f9cd4eb9e8
commit 16bdf2ac6c

View file

@ -147,6 +147,10 @@ std::string ArticleMaker::makeHtmlHeader( QString const & word,
<style>
body { background: #242525; }
.gdarticle { background: initial;}
img{
background: white;
}
</style>
<script>
// This function returns a promise, but it is synchroneous because it does not use await