fixes #1063
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|
||||||
|
|||||||
@@ -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 %>
|
||||||
|
|||||||
Reference in New Issue
Block a user