Fix spacing in search results heading

Based on the style used in the projects index page.

Fixes #2003.
This commit is contained in:
Robin Dickson 2016-05-15 18:09:06 +01:00
parent 7472488001
commit f5ae06899f

View file

@ -5,7 +5,11 @@ collection_title ||= 'unknown object'
unless collection.empty?
-%>
<div id="<%=collection_name%>-container" class="container">
<h2><span id="<%=collection_name%>" class="badge"><%= collection.size %></span><%= collection_title %></h2>
<h2>
<span id="<%=collection_name%>" class="badge"><%= collection.size %></span>
<%= collection_title %>
</h2>
<%= yield %>
</div>
<% end -%>
<% end -%>