8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-22 11:23:10 +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
parent a093637cb3
commit 2db1f5afee
Signed by: nanoy
GPG key ID: DC24C5787C943389
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>