Skip to content

Commit

Permalink
Highlight every second table row (#22)
Browse files Browse the repository at this point in the history
The CSS rule `&:nth-child(2)` only highlights the second table row.

This change will highlight every second table row, which improves
readability.
  • Loading branch information
jaylinski authored and yyx990803 committed Apr 14, 2018
1 parent cceb3d1 commit 9cb481a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/default-theme/styles/theme.styl
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ table

tr
border-top 1px solid #dfe2e5
&:nth-child(2)
&:nth-child(2n)
background-color #f6f8fa

th, td
Expand Down

0 comments on commit 9cb481a

Please sign in to comment.