mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-11 09:32:12 +01:00
Don't set white body bg color for sites by default
- it does actually break some pages
Reverts 4fce161414
This commit is contained in:
parent
f20e10a360
commit
0c4b8e164e
|
@ -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…
Reference in New Issue
Block a user