diff --git a/platform/lang-impl/src/com/intellij/lang/documentation/ide/ui/DocumentationUI.kt b/platform/lang-impl/src/com/intellij/lang/documentation/ide/ui/DocumentationUI.kt index 4ee9d1708de7..f06657386f2b 100644 --- a/platform/lang-impl/src/com/intellij/lang/documentation/ide/ui/DocumentationUI.kt +++ b/platform/lang-impl/src/com/intellij/lang/documentation/ide/ui/DocumentationUI.kt @@ -101,9 +101,11 @@ internal class DocumentationUI( trackDocumentationBackgroundChange(this) { // Force update of the background color for scroll pane @Suppress("UseJBColor") - scrollPane.viewport.background = Color(it.rgb) - locationLabel.background = it - switcherToolbarComponent.background = it + val color = Color(it.rgb) + editorPane.parent.background = color + scrollPane.viewport.background = color + locationLabel.background = color + switcherToolbarComponent.background = color } browser.ui = this