Permalink
Browse files

Fix centering to depend on nosidebar and done automatically

  • Loading branch information...
1 parent 98934bc commit 81af82f030f710e314e348b69d7044cf2a7a824d @beberlei beberlei committed Mar 6, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 doctrine/layout.html
View
@@ -209,7 +209,7 @@ <h1 id="h1title"></h1>
{%- if not embedded %}{% if not theme_nosidebar|tobool %}
<div class="bodywrapper">
{%- endif %}{% endif %}
- <div class="body" style="margin-left: {{ theme_body_leftmargin }}px;">
+ <div class="body" {% if not theme_nosidebar|tobool %}style="margin: auto;"{% endif %}>
{% block body %} {% endblock %}
</div>
{%- if not embedded %}{% if not theme_nosidebar|tobool %}

0 comments on commit 81af82f

Please sign in to comment.