Insert class for correct styling

pull/3761/head
Henriette Dinger 9 years ago
parent 71d96ccb69
commit 1a6dc49cf9
  1. 3
      app/assets/stylesheets/scm.css.sass
  2. 10
      app/views/repositories/_revisions.html.erb
  3. 5
      app/views/wiki/history.html.erb

@ -80,9 +80,6 @@ li.change
.repository--checkout-instructions--url
margin-top: 1rem
button.repository--compare-button
margin-top: 1rem
.repository-breadcrumbs
font-size: 0.9rem
margin: 15px 0

@ -113,9 +113,11 @@ See doc/COPYRIGHT.rdoc for more details.
</div>
</div>
<% if show_diff %>
<button type="submit" class="button repository--compare-button">
<i class="button--icon icon-compare"></i>
<span class="button--text"><%= l(:label_view_diff) %></span>
</button>
<div class="generic-table--action-buttons">
<button type="submit" class="button">
<i class="button--icon icon-compare"></i>
<span class="button--text"><%= l(:label_view_diff) %></span>
</button>
</div>
<% end %>
<% end %>

@ -114,6 +114,9 @@ See doc/COPYRIGHT.rdoc for more details.
<div class="generic-table--header-background"></div>
</div>
</div>
<%= submit_tag l(:label_view_diff), class: 'button -highlight -small' if show_diff %>
<div class="generic-table--action-buttons">
<%= submit_tag l(:label_view_diff), class: 'button -highlight -small' if show_diff %>
</div>
<%= pagination_links_full @versions %>
<% end %>

Loading…
Cancel
Save