diff --git a/src/lib/app/mainapplication.cpp b/src/lib/app/mainapplication.cpp index e60f3439f..9a9713924 100644 --- a/src/lib/app/mainapplication.cpp +++ b/src/lib/app/mainapplication.cpp @@ -855,7 +855,8 @@ QUrl MainApplication::userStyleSheet(const QString &filePath) const // Set default white background for all sites // Fixes issue with dark themes when sites don't set background - QString userStyle = AdBlockManager::instance()->elementHidingRules() + "{ display:none !important;}"; + QString userStyle = "html{background-color:white;}"; + userStyle += AdBlockManager::instance()->elementHidingRules() + "{ display:none !important;}"; QFile file(filePath); if (!filePath.isEmpty() && file.open(QFile::ReadOnly)) {