mirror of
https://github.com/retspen/webvirtcloud
synced 2026-12-03 17:36:05 +00:00
fix(ui): Jobs and Administration are icons beside the other menu links on every wide screen
This commit is contained in:
parent
1c8e204c95
commit
6b28306fe5
2 changed files with 3 additions and 3 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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 #}
|
||||
<nav class="navbar sticky-top navbar-expand-md navbar-dark bg-primary mb-3" aria-label="{% trans 'Menu' %}">
|
||||
<div class="container">
|
||||
<a class="navbar-brand" href="{% url 'index' %}">WebVirtCloud</a>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue