Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions djangosnippets/static/scss/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,8 @@ body.search,
body.bookmarks,
body.user,
body.snippet-list,
body.with-sidebar {
body.with-sidebar,
body.frontpage {
#content {
@media #{$small-up} {
@include grid-column(12);
Expand All @@ -324,7 +325,7 @@ body.with-sidebar {
}

body.frontpage {
#content, #sidebar {
#content.main, #sidebar.main {
@media #{$small-up} {
@include grid-column(12, $last-column: true);
}
Expand Down
4 changes: 2 additions & 2 deletions djangosnippets/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,11 @@

<div id="base-container">
<h1>{% block content_header %}{% endblock %}</h1>
<div id="content">
<div id="content" class="main">
{% block content %}
{% endblock %}
</div>
<div id="sidebar">
<div id="sidebar" class="main">
{% block sidebar %}
{% endblock %}
</div>
Expand Down