From 61fcea6b597b757f583196550108cc234a67a9c7 Mon Sep 17 00:00:00 2001 From: Ben Rohlfs Date: Sun, 2 Feb 2020 11:59:46 +0100 Subject: [PATCH] Fix diff background color in ignoredWhitespaceOnly mode Change 251279 introduced gray coloring of empty areas by explicitly setting a background color for .contentText. It was overlooked that the special rules for .ignoredWhitespaceOnly also need to be changed. Change-Id: Iac978fbef612f2fc2733c82ef34bd3be0a80bdfa --- polygerrit-ui/app/elements/diff/gr-diff/gr-diff.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/polygerrit-ui/app/elements/diff/gr-diff/gr-diff.html b/polygerrit-ui/app/elements/diff/gr-diff/gr-diff.html index dea97890d2..ff52dddcc8 100644 --- a/polygerrit-ui/app/elements/diff/gr-diff/gr-diff.html +++ b/polygerrit-ui/app/elements/diff/gr-diff/gr-diff.html @@ -176,7 +176,7 @@ limitations under the License. .ignoredWhitespaceOnly .content.remove .contentText .intraline, .delta.total.ignoredWhitespaceOnly .content.remove .contentText, .ignoredWhitespaceOnly .content.remove .contentText { - background: none; + background-color: var(--view-background-color); } .content .contentText:empty:after {