Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions assets/stylesheets/screen.css.sass
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,6 @@ thead
background-color: #FBFfCf
.missed-branch
&:nth-child(odd)
background-color: #cc8e8e
background-color: #ffddbb
&:nth-child(even)
background-color: #cc6e6e
background-color: #ffccaa
4 changes: 2 additions & 2 deletions views/source_file.erb
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
<pre>
<ol>
<% source_file.lines.each do |line| %>
<div>
<li class="<%= line_status?(source_file, line) %>" data-hits="<%= line.coverage ? line.coverage : '' %>" data-linenumber="<%= line.number %>">
<div class="<%= line_status?(source_file, line) %>">
<li data-hits="<%= line.coverage ? line.coverage : '' %>" data-linenumber="<%= line.number %>">
<% if line.covered? %><span class="hits"><%= line.coverage %></span><% end %>
<% if line.skipped? %><span class="hits">skipped</span><% end %>

Expand Down