Skip to content

Commit

Permalink
Fixed inconsistent sidebar styles bug
Browse files Browse the repository at this point in the history
  • Loading branch information
kranjbar authored and kranjbar committed Feb 5, 2016
1 parent fd17e07 commit d65a8ea
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/views/admin/sidebar/_target_sidebar.html.erb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<li id="sidebar_<%= sidebar.id %>" class="sidebar_item" data-sortable="sidebar_<%= sidebar.id %>" >
<li id="sidebar_<%= sidebar.id %>" class="sidebar-item" data-sortable="sidebar_<%= sidebar.id %>" >
<%= link_to 'X', admin_sidebar_path(sidebar), {class: 'deletion_link', remote: true, method: :delete, :'data-confirm'=>'Are you sure?'} %>
<%= form_tag admin_sidebar_path(sidebar.id), {remote: true, method: :put} do |f| %>
<div class="active alert <%= class_for_admin_state(sidebar, sortable_index)%>">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<% unless sidebar.archives.blank? %>
<h3 class="sidebar_title"><%= sidebar.title %></h3>
<div class="sidebar_body">
<h3 class="sidebar-title"><%= sidebar.title %></h3>
<div class="sidebar-body">
<ul id="archives">
<% sidebar.archives.each do |month| %>
<% counter = sidebar.show_count ? "<em>(#{month[:article_count]})</em>" : "" %>
Expand Down

0 comments on commit d65a8ea

Please sign in to comment.