diff --git a/src/lib/app/mainapplication.cpp b/src/lib/app/mainapplication.cpp index 62d34af54..467dadd76 100644 --- a/src/lib/app/mainapplication.cpp +++ b/src/lib/app/mainapplication.cpp @@ -873,7 +873,7 @@ 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 /*= "html{background-color:white;}"*/; + QString userStyle = "html{background-color:white;}"; userStyle += AdBlockManager::instance()->elementHidingRules() + "{ display:none !important;}"; QFile file(filePath); diff --git a/src/lib/data/html/adblockPage.html b/src/lib/data/html/adblockPage.html index a912df471..a74d670c6 100644 --- a/src/lib/data/html/adblockPage.html +++ b/src/lib/data/html/adblockPage.html @@ -3,6 +3,7 @@