sidebar-ul-minimal-fix.patch

Daniel Ritz, 2015-11-19 16:03

Download (1.29 KB)

View differences:

app/views/wiki/_sidebar.html.erb
1 1
<% if @wiki && @wiki.sidebar -%>
2
  <%= textilizable @wiki.sidebar.content, :text %>
2
  <div class="wiki">
3
    <%= textilizable @wiki.sidebar.content, :text %>
4
  </div>
3 5
<% end -%>
4 6

  
5 7
<h3><%= l(:label_wiki) %></h3>
public/stylesheets/application.css
79 79
#sidebar .contextual { margin-right: 1em; }
80 80
#sidebar ul, ul.flat {margin: 0;  padding: 0;}
81 81
#sidebar ul li, ul.flat li {list-style-type:none;margin: 0px 2px 0px 0px; padding: 0px 0px 0px 0px;}
82
#sidebar div.wiki h3 {font-size:13px; margin-top:0; color:#555;}
83
#sidebar div.wiki ul {margin:inherit; padding-left:40px;}
84
#sidebar div.wiki ul li {list-style-type:inherit;}
82 85

  
83 86
#content { width: 75%; background-color: #fff; margin: 0px; border-right: 1px solid #ddd; padding: 6px 10px 10px 10px; z-index: 10; }
84 87
* html #content{ width: 75%; padding-left: 0; margin-top: 0px; padding: 6px 10px 10px 10px;}