Skip to content
Snippets Groups Projects
Commit a967b60d authored by Mark Skipper's avatar Mark Skipper
Browse files

Make full screen layout

According to  http://getbootstrap.com/css/#grid-intro
the proper way to get a full page layout is to use container-fluid
but a normal row, which has negative margin to undo the padding.

It's all very confusing; but this feels better than my first effort.
parent 4415f7bc
Branches
No related tags found
No related merge requests found
...@@ -25,14 +25,16 @@ ...@@ -25,14 +25,16 @@
{% block content %} {% block content %}
<meta name="viewport" content="width=device-width,initial-scale=1"> <meta name="viewport" content="width=device-width,initial-scale=1">
<div class="row-fluid"> <div class="container-fluid">
<div class="col-sm-2 col-sd-2 sidebar internews-sidebar"> <div class="row">
<h2>{% trans "Internews" %}</h2> <div class="col-sm-2 col-sd-2 sidebar internews-sidebar">
<p>{% trans "humanitarian information dashboard (HID)" %} <a href=".">{% trans "info" %}</a></p> <h2>{% trans "Internews" %}</h2>
</div> <p>{% trans "humanitarian information dashboard (HID)" %} <a href=".">{% trans "info" %}</a></p>
<div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main internews-main"> </div>
{% block maincontent %} <div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main internews-main">
{% endblock maincontent %} {% block maincontent %}
{% endblock maincontent %}
</div>
</div> </div>
</div> </div>
{% endblock content %} {% endblock content %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment