[REMOVED] Unnecessary z-index and overflow

Width fixed as well
This commit is contained in:
Peter Pfeufer 2024-01-16 20:18:46 +01:00
parent f8fbbb5ba7
commit 4e9e22cb4b
No known key found for this signature in database
GPG Key ID: 6051D2C6AD4EBC27
2 changed files with 3 additions and 3 deletions

View File

@ -3,7 +3,7 @@
{% load evelinks %}
{% load theme_tags %}
<div style="z-index:5;" class="w100 d-flex flex-column justify-content-center align-items-center text-center pb-2 border-top border-secondary {% if not user.is_authenticated %}position-absolute bottom-0 w-100{% endif %}">
<div class="w-100 d-flex flex-column justify-content-center align-items-center text-center border-top border-secondary {% if not user.is_authenticated %}position-absolute bottom-0{% endif %}">
<div class="d-flex mb-0 w-100 bg-dark text-light">
<div class="p-2 position-relative m-2">
{% if user.is_authenticated %}

View File

@ -5,9 +5,9 @@
<div class="col-auto px-0">
<div class="collapse collapse-horizontal" tabindex="-1" id="sidebar">
<div style="width: 350px;">
<div class="nav-padding navbar-dark bg-dark text-light px-0 d-flex flex-column overflow-hidden vh-100 {% if not user.is_authenticated %}position-relative{% endif %}">
<div class="nav-padding navbar-dark bg-dark text-light px-0 d-flex flex-column vh-100 {% if not user.is_authenticated %}position-relative{% endif %}">
{% if user.is_authenticated %}
<ul style="z-index:5;" id="sidebar-menu" class="navbar-nav flex-column mb-auto overflow-auto pt-2">
<ul id="sidebar-menu" class="navbar-nav flex-column mb-auto overflow-auto pt-2">
<li class="d-flex flex-wrap m-2 p-2 pt-0 pb-0 mt-0 mb-0 me-0 pe-0">
<i class="nav-link fas fa-tachometer-alt fa-fw align-self-center me-3 {% navactive request 'authentication:dashboard' %}"></i>
<a class="nav-link flex-fill align-self-center" href="{% url 'authentication:dashboard' %}">