This commit is contained in:
Toks
2013-04-11 17:32:35 -04:00
parent 2f59f9cb5f
commit 70c816aace
3 changed files with 4 additions and 4 deletions

View File

@@ -179,7 +179,7 @@ div#c-posts {
} }
div#a-index { div#a-index {
#content { #content.with-ads {
margin-right: 6.5em; margin-right: 6.5em;
} }
@@ -239,7 +239,7 @@ div#c-posts {
padding: 1em 0.5em; padding: 1em 0.5em;
} }
#content { #content.with-ads {
margin-right: 7em; margin-right: 7em;
} }

View File

@@ -17,7 +17,7 @@
<%= render "posts/partials/index/related" %> <%= render "posts/partials/index/related" %>
</aside> </aside>
<section id="content"> <section id="content" class="<%= Danbooru.config.can_see_ads?(CurrentUser.user) ? "with-ads" : "without-ads" %>">
<menu id="post-sections"> <menu id="post-sections">
<li class="active"><a href="#posts" id="show-posts-link">Posts</a></li> <li class="active"><a href="#posts" id="show-posts-link">Posts</a></li>

View File

@@ -33,7 +33,7 @@
</aside> </aside>
<section id="content"> <section id="content" class="<%= Danbooru.config.can_see_ads?(CurrentUser.user) ? "with-ads" : "without-ads" %>">
<% if @post.presenter.has_nav_links?(self) %> <% if @post.presenter.has_nav_links?(self) %>
<%= render "posts/partials/show/nav_links", :post => @post, :position => "top" %> <%= render "posts/partials/show/nav_links", :post => @post, :position => "top" %>
<% end %> <% end %>