Skip to content

Commit

Permalink
Fix branding
Browse files Browse the repository at this point in the history
Moves the branding class to the document list item instead of the ul which may not always be rendered.
  • Loading branch information
Vanita Barrett committed Aug 9, 2018
1 parent 341f18c commit a91cf1b
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -11,10 +11,10 @@
%>
<% if items.any? %>
<% unless within_multitype_list %>
<ol class="gem-c-document-list<%= margin_bottom_class %><%= margin_top_class %> <%= brand_helper.brand_class %>">
<ol class="gem-c-document-list<%= margin_bottom_class %><%= margin_top_class %>">
<% end %>
<% items.each do |item| %>
<li class="gem-c-document-list__item<%= within_multitype_list_class %>">
<li class="gem-c-document-list__item<%= within_multitype_list_class %> <%= brand_helper.brand_class %>">
<%=
link_to(
item[:link][:text],
Expand Down

0 comments on commit a91cf1b

Please sign in to comment.