1
0
mirror of https://github.com/tabler/tabler.git synced 2025-12-22 01:44:25 +04:00

layout fixes

This commit is contained in:
codecalm
2020-01-14 21:58:42 +01:00
parent 3980d720e1
commit 0f846fdd1e
2 changed files with 13 additions and 1 deletions

View File

@@ -13,7 +13,7 @@
{% endif %}
</div>
{% if config.sidebar-right %}
<div class="col-3 {% if config.sidebar-dark %}bg-dark{% else %}border-left bg-white{% endif %}"></div>
<div class="{% if config.sidebar-narrow %}col-auto w-2{% else %}col-3{% endif %} {% if config.sidebar-dark %}bg-dark{% else %}border-left bg-white{% endif %}"></div>
{% endif %}
</div>
</div>

View File

@@ -468,4 +468,16 @@ Folded sidebar
left: $sidenav-width-narrow;
}
}
&.sidebar-right {
+ .content {
margin-left: 0;
margin-right: $sidenav-width-narrow;
.topnav {
left: 0;
right: $sidenav-width-narrow;
}
}
}
}