Skip to content

Commit ccd006b

Browse files
authored
Merge pull request farend#115 from farend/fix-table-hover-tbody-only
Fix hover style applied to table headers in related and sub issues list
2 parents bceeef0 + c692e02 commit ccd006b

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

src/styles/components/_table.scss

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,6 @@ table.list {
5858
color: $color-closed;
5959
a { color: $color-closed; }
6060
}
61-
&:hover {
62-
background-color: #fff9c4;
63-
}
6461
}
6562
}
6663
// Bottom align for column headings
@@ -73,6 +70,11 @@ table.list {
7370
padding: $table-head-cell-padding;
7471
&.checkbox { padding: $table-head-cell-padding; }
7572
}
73+
74+
tbody > tr:hover {
75+
background-color: #fff9c4;
76+
}
77+
7678
// Remove top border from thead by default
7779
> caption + thead,
7880
> colgroup + thead,

0 commit comments

Comments
 (0)