From 6b28306fe557c6a1476751813af354ad3997db81 Mon Sep 17 00:00:00 2001 From: catborise Date: Wed, 25 Nov 2026 18:59:30 +0300 Subject: [PATCH] fix(ui): Jobs and Administration are icons beside the other menu links on every wide screen --- static/css/webvirtcloud.css | 4 ++-- templates/navbar.html | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/static/css/webvirtcloud.css b/static/css/webvirtcloud.css index 5bbde57a..f34a5f3d 100644 --- a/static/css/webvirtcloud.css +++ b/static/css/webvirtcloud.css @@ -381,8 +381,8 @@ td .tag-more { .navbar .dropdown-item svg { vertical-align: -.125em; } -/* between a phone and a wide screen the labels of Jobs and Administration do not fit: their icons stay */ -@media (min-width: 768px) and (max-width: 991.98px) { +/* beside the other links Jobs and Administration are icons; their names stay for screen readers and the phone menu */ +@media (min-width: 768px) { .navbar .nav-label { position: absolute; width: 1px; diff --git a/templates/navbar.html b/templates/navbar.html index 26652518..6a35f101 100644 --- a/templates/navbar.html +++ b/templates/navbar.html @@ -2,7 +2,7 @@ {% load bootstrap_icons %} {% load common_tags %} {% load operations %} -{# the page's own section is marked (active, aria-current); the labels beside the icons hide on a mid-size screen, where they do not fit #} +{# the page's own section is marked (active, aria-current); the labels of Jobs and Administration show only in the phone menu #}