Don't set white body bg color for sites by default

- it does actually break some pages

Reverts 4fce161414
remotes/origin/falkon
nowrep 14 years ago
parent f20e10a360
commit 0c4b8e164e
  1. 3
      src/lib/app/mainapplication.cpp

@ -812,8 +812,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 = "body{background:white;}";
userStyle += AdBlockManager::instance()->elementHidingRules() + "{ display:none !important;}";
QString userStyle = AdBlockManager::instance()->elementHidingRules() + "{ display:none !important;}";
QFile file(filePath);
if (!filePath.isEmpty() && file.open(QFile::ReadOnly)) {

Loading…
Cancel
Save