Skip to content

Commit 75894a5

Browse files
committed
Fix line status nth-child alternating colors and improve missed-branch readability
Remove invalid <div> wrapper around <li> in source_file.erb so that nth-child(odd/even) CSS selectors work correctly for all line statuses. Lighten missed-branch background colors for better readability when syntax highlighting renders code as light gray text. Closes #98.
1 parent 5b005da commit 75894a5

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

assets/stylesheets/screen.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -335,9 +335,9 @@ thead th {
335335
}
336336

337337
.source_table .missed-branch:nth-child(odd) {
338-
background-color: #cc8e8e;
338+
background-color: #ffddbb;
339339
}
340340

341341
.source_table .missed-branch:nth-child(even) {
342-
background-color: #cc6e6e;
342+
background-color: #ffccaa;
343343
}

public/application.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)