Commit db8a79aa authored by Igor Kushnir's avatar Igor Kushnir
Browse files

Remove obsolete/harmful overriding of documentation CSS

I haven't noticed any effect of the `.page-tools` part of the CSS code.
927406cc introduced this code in 2014 -
it must have become obsolete at some point after that.

Forcing white body background affects the navigation menu at the bottom
of most documentation pages. I find light-gray text on white background
significantly less readable than the default light-gray on black.
Perhaps the situation was different in 2016 when
ec8ca05f forced the white background.

This overriding of CSS has not been working for 5 years since
08383711, so I don't think anyone would
miss it.
parent 961fc66d
Pipeline #195833 passed with stage
in 2 minutes and 51 seconds
......@@ -24,8 +24,6 @@ PhpDocumentationWidget::PhpDocumentationWidget(KDevelop::DocumentationFindWidget
{
m_part = new KDevelop::StandardDocumentationView(find, this);
m_part->setDelegateLinks(true);
m_part->setOverrideCssCode(
QByteArrayLiteral(".page-tools { float: none !important; } body { background: white !important; };"));
addWidget(m_part);
addWidget(m_loading);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment