Skip to content

Commit

Permalink
fix issue where table row is not hoverable
Browse files Browse the repository at this point in the history
  • Loading branch information
chienleng committed Sep 6, 2023
1 parent 939635c commit 5e0461a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion components/Energy/TimeOfDay.vue
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
style="font-weight: bold;"
:style="{
color: getTextColour(domain.id),
background: highlightRow === domain.id ? 'rgba(255,255,255, 0.8)' : 'none'
'background-color': highlightRow === domain.id ? 'rgba(255,255,255, 0.8)' : 'transparent'
}"
@mouseenter="() => handleMouseEnter(domain.id)"
@mouseleave="() => handleMouseLeave()">
Expand Down Expand Up @@ -370,6 +370,10 @@ table.table {
vertical-align: bottom;
}
tbody tr:hover {
background-color: rgba(255,255,255, 0.8) !important;
}
tfoot tr th {
border-top: 1px solid #696969;
}
Expand Down

0 comments on commit 5e0461a

Please sign in to comment.