Skip to content

Commit ac4d440

Browse files
committed
use divs to lay out plusser lines rather than p
They aren't really paragraphs, so use div tags to have more natural markup. Apply margin using CSS rather than relying on <p> tag. Also remove trailing period from non-pause user count to be consistent with pause user count.
1 parent 763f21f commit ac4d440

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

root/inc/author-pic.html

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,16 @@
1111
<% END %>
1212

1313
<!-- Display counts of plussers-->
14-
<p>
1514
<% IF plussers.authors.size %>
16-
<a href="/release/<% plussers.distribution %>/plussers"><% "%d PAUSE user(s)".pluralize(plussers.authors.size) %></a><br>
15+
<div>
16+
<a href="/release/<% plussers.distribution %>/plussers"><% "%d PAUSE user(s)".pluralize(plussers.authors.size) %></a>
17+
</div>
1718
<% END %>
1819
<% IF plussers.others %>
19-
<% "%d non-PAUSE user(s)".pluralize(plussers.others) %>.
20+
<div>
21+
<% "%d non-PAUSE user(s)".pluralize(plussers.others) %>
22+
</div>
2023
<% END %>
21-
</p>
2224
</div>
2325
<% END %>
2426

root/static/less/breadcrumbs.less

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,5 +49,6 @@
4949
height: 20px;
5050
border-radius: 3.5px;
5151
}
52-
}
5352

53+
margin-bottom: 0.7em;
54+
}

0 commit comments

Comments
 (0)