styling fixes

This commit is contained in:
Andrew Gormley 2024-07-19 19:16:52 +01:00
parent 50535b4f97
commit 2bd044a600
3 changed files with 4 additions and 3 deletions

Binary file not shown.

View File

@ -29,6 +29,7 @@ body {
// Allows header to sit on top of side nav
@include media-breakpoint-up(lg) {
padding-bottom: 2rem;
padding-top: 56px;
z-index: 1020;
}
@ -146,7 +147,7 @@ body {
}
.netbox-edition {
font-size: .7rem;
letter-spacing: .15rem;
letter-spacing: .05rem;
text-align: center;
}
}

View File

@ -19,7 +19,7 @@ Blocks:
<div class="page">
{# Sidebar #}
<aside class="navbar navbar-vertical navbar-expand-lg pb-5">
<aside class="navbar navbar-vertical navbar-expand-lg">
{% if settings.RELEASE.edition != 'Community' %}
<img class="motif" src="{% static 'motif.svg' %}" alt="{% trans "NetBox Motif" %}">
@ -80,7 +80,7 @@ Blocks:
<a href="{% url 'home' %}">
<img src="{% static 'logo_netbox_dark_teal.svg' %}" alt="{% trans "NetBox Logo" %}" class="navbar-brand-image hide-theme-dark">
<img src="{% static 'logo_netbox_bright_teal.svg' %}" alt="{% trans "NetBox Logo" %}" class="navbar-brand-image hide-theme-light">
<div class="netbox-edition fw-semibold mt-1">{{ settings.RELEASE.edition }}</div>
<div class="netbox-edition fw-semibold mt-1 text-secondary">{{ settings.RELEASE.edition }}</div>
</a>
</h1>