Skip to content

Commit 9cb481a

Browse files
jaylinskiyyx990803
authored andcommitted
Highlight every second table row (#22)
The CSS rule `&:nth-child(2)` only highlights the second table row. This change will highlight every second table row, which improves readability.
1 parent cceb3d1 commit 9cb481a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/default-theme/styles/theme.styl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ table
132132

133133
tr
134134
border-top 1px solid #dfe2e5
135-
&:nth-child(2)
135+
&:nth-child(2n)
136136
background-color #f6f8fa
137137

138138
th, td

0 commit comments

Comments
 (0)