8
0
Fork 0
mirror of https://gitlab.federez.net/re2o/re2o synced 2024-05-13 22:26:14 +00:00

Add right sidebar for large screenn, remove scroll in navbar, add scroll in left sidebar

This commit is contained in:
Yoann Pétri 2020-11-16 19:12:36 +01:00 committed by Gabriel Detraz
parent cf11e554a1
commit 8c3df067c4
2 changed files with 10 additions and 1 deletions

View file

@ -1,3 +1,6 @@
.navbar-collapse {
overflow-x: hidden;
}
/* For the footer to be at the bottom*/
body {
padding-top: 50px;
@ -84,11 +87,15 @@ a > i.fa {
position: fixed;
top:50px;
right:0;
overflow-y: auto;
bottom:0px;
}
.sidenav-left {
position: fixed;
top:50px;
left:0;
overflow-y: auto;
bottom:0px;
}
.dropdown-menu .dropdown-toggle:after {
border-top: .3em solid transparent;

View file

@ -85,11 +85,13 @@ with this program; if not, write to the Free Software Foundation, Inc.,
{% block sidebar %}
{% endblock %}
</div>
<div class="col-sm-offset-2 col-sm-10 text-left pt4">
<div class="col-sm-offset-2 col-sm-10 col-lg-8 text-left pt4">
{# Display django.contrib.messages as Bootstrap alerts #}
{% bootstrap_messages %}
{% block content %}{% endblock %}
</div>
<div class="col-lg-2 pt4">
</div>
</div>
</div>