1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

v3.0 nav menu tweaks (#6906)

* Clean up nav menu spacing & link colors

* Shrink NetBox icon & collapsed sidebar

* Fix gap between scrollbar and righthand window border
This commit is contained in:
Jeremy Stretch
2021-08-06 17:43:02 -04:00
committed by GitHub
parent ef057b3e45
commit fe54acef51
8 changed files with 30 additions and 31 deletions

View File

@@ -13,7 +13,7 @@
{# Icon Logo #}
<a class="sidenav-brand-icon" href="/">
<img src="{% static 'netbox_icon.svg' %}" height="48" class="sidenav-brand-img" alt="NetBox Logo">
<img src="{% static 'netbox_icon.svg' %}" height="32" class="sidenav-brand-img" alt="NetBox Logo">
</a>
{# Pin/Unpin Toggle #}

View File

@@ -1,10 +1,10 @@
{% if request.user.is_authenticated %}
<span class="dropdown ms-0 ms-md-3 profile-button">
<span class="dropdown profile-button">
<button
type="button"
aria-expanded="false"
data-bs-toggle="dropdown"
class="btn btn-outline-secondary dropdown-toggle"
class="btn btn-outline-secondary dropdown-toggle w-100"
>
<i class="mdi mdi-account"></i>
<span id="navbar_user">{{ request.user|truncatechars:"30" }}</span>
@@ -37,7 +37,7 @@
</ul>
</span>
{% else %}
<div class="btn-group ms-0 ms-md-3">
<div class="btn-group">
<a
class="btn btn-primary ws-nowrap"
type="button"