diff options
| author | Taras Madan <tarasmadan@google.com> | 2024-07-22 12:28:40 +0200 |
|---|---|---|
| committer | Taras Madan <tarasmadan@google.com> | 2024-07-22 10:38:04 +0000 |
| commit | c4a7e2203bd8aa7f375ed74562a3c980433206c3 (patch) | |
| tree | dc217e5286e7d02c6a190a9ad26b24c0b8958900 /pkg/cover/templates | |
| parent | f5da816ce8aae97a54e26442443c21b01eba9519 (diff) | |
pkg/cover/templates/heatmap.html: hover line not cell
Diffstat (limited to 'pkg/cover/templates')
| -rw-r--r-- | pkg/cover/templates/heatmap.html | 8 |
1 files changed, 4 insertions, 4 deletions
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 @@ <div class="first_column" style="display: inline-block"> <div class="tree_depth_{{ $child.Depth }}" style="display: inline-block"> </div> - <div class="{{ if $child.IsDir }}caret hover{{ end }}" + <div class="{{ if $child.IsDir }}caret{{ end }}" style="display: inline-block"> {{$child.Name}} </div> |
