aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStas Vilchik <stas.vilchik@sonarsource.com>2018-10-10 16:07:06 +0200
committerSonarTech <sonartech@sonarsource.com>2018-10-11 15:14:32 +0200
commitf3825b2d261787f0fee266d32fe2efb5426dd438 (patch)
treeae9ff7a449c7cd51b7a7672ad1967df7408580e3
parentd234df518982af0f6194b457929786b06b7e32fe (diff)
downloadsonarqube-f3825b2d261787f0fee266d32fe2efb5426dd438.tar.gz
sonarqube-f3825b2d261787f0fee266d32fe2efb5426dd438.zip
SONAR-11152 fix line highlighting inside new code
-rw-r--r--server/sonar-web/src/main/js/components/SourceViewer/styles.css5
1 files changed, 5 insertions, 0 deletions
diff --git a/server/sonar-web/src/main/js/components/SourceViewer/styles.css b/server/sonar-web/src/main/js/components/SourceViewer/styles.css
index 002bf25c7e3..c95c5a71925 100644
--- a/server/sonar-web/src/main/js/components/SourceViewer/styles.css
+++ b/server/sonar-web/src/main/js/components/SourceViewer/styles.css
@@ -72,6 +72,11 @@
background-color: var(--leakColor) !important;
}
+.source-line-filtered.source-line-highlighted .source-line-code,
+.source-line-filtered.source-line-highlighted:hover .source-line-code {
+ background-color: #cdd9c4 !important;
+}
+
.source-line-filtered:hover .source-line-code {
background-color: #f1e8cb !important;
}