aboutsummaryrefslogtreecommitdiff
path: root/src/browsertab.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/browsertab.cpp')
-rw-r--r--src/browsertab.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/browsertab.cpp b/src/browsertab.cpp
index 2c34314..d7df827 100644
--- a/src/browsertab.cpp
+++ b/src/browsertab.cpp
@@ -469,7 +469,7 @@ void BrowserTab::on_requestComplete(const QByteArray &ref_data, const QString &m
auto doc_style = kristall::document_style.derive(this->current_location);
- this->ui->text_browser->setStyleSheet(QString("QTextBrowser { background-color: %1; }").arg(doc_style.background_color.name()));
+ this->ui->text_browser->setStyleSheet(QString("QTextBrowser { background-color: %1; color: %2; }").arg(doc_style.background_color.name(), doc_style.standard_color.name()));
bool plaintext_only = (kristall::options.text_display == GenericSettings::PlainText);