Skip to content

Commit

Permalink
Cleanup node list
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Skelton committed Apr 13, 2022
1 parent 21cd45d commit 1b711c9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/clean-sheep-shop.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'axe-reporter-html': patch
---

Fix multiple nodes not displaying properly
4 changes: 3 additions & 1 deletion template.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,12 @@
.node-list {
display: flex;
flex-direction: column;
gap: 8px;
}
.node-list pre {
margin: 0;
width: 100%;
}
Expand Down Expand Up @@ -96,7 +98,7 @@
<li>Tags: <%= check.tags %></li>
</ul>
<p style="margin: 0">
<p style="margin-bottom: 8px">
<b><%= check.nodes.length %></b> <%= plural(check.nodes.length,
'node') %> triggered this violation.
</p>
Expand Down

0 comments on commit 1b711c9

Please sign in to comment.