From c4a7e2203bd8aa7f375ed74562a3c980433206c3 Mon Sep 17 00:00:00 2001 From: Taras Madan Date: Mon, 22 Jul 2024 12:28:40 +0200 Subject: pkg/cover/templates/heatmap.html: hover line not cell --- pkg/cover/templates/heatmap.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'pkg') diff --git a/pkg/cover/templates/heatmap.html b/pkg/cover/templates/heatmap.html index bea3563c6..ba39b00f5 100644 --- a/pkg/cover/templates/heatmap.html +++ b/pkg/cover/templates/heatmap.html @@ -52,9 +52,6 @@ .tree_depth_7 {width: 140px;} .bold {font-weight: bold;} - .hover:hover { - background: #ffff99; - } .caret { cursor: pointer; user-select: none; @@ -91,6 +88,9 @@ ul > li > ul > li > ul > li > ul > li > ul > li > ul > li:nth-of-type(odd) .data_row {background: #FFF;} ul > li > ul > li > ul > li > ul > li > ul > li > ul > li > ul > li:nth-of-type(even) .data_row {background: #F4F4F4;} ul > li > ul > li > ul > li > ul > li > ul > li > ul > li > ul > li:nth-of-type(odd) .data_row {background: #FFF;} + .data_row:hover { + background-color: #ffff99 !important; + } {{ end }} {{ define "body" }} @@ -132,7 +132,7 @@
-
{{$child.Name}}
-- cgit mrf-deployment