diff --git a/dDashboardServer/static/css/dashboard.css b/dDashboardServer/static/css/dashboard.css index c1451cfcf..9e9c0fdc2 100644 --- a/dDashboardServer/static/css/dashboard.css +++ b/dDashboardServer/static/css/dashboard.css @@ -233,3 +233,8 @@ details.about-text > summary::before { details.about-text > summary:hover { color: var(--bs-body-color); } details.about-text[open] > summary { margin-bottom: .35rem; } details.about-text > :not(summary) { color: var(--bs-secondary-color); font-size: .875rem; } + +/* Wide screens: the menu can be hidden (the top bar's menu button; header.jinja2 keeps the choice) */ +@media (min-width: 992px) { + html.sidebar-hidden nav.sidebar { display: none !important; } +} diff --git a/dDashboardServer/templates/base.jinja2 b/dDashboardServer/templates/base.jinja2 index cf88929b6..322e06060 100644 --- a/dDashboardServer/templates/base.jinja2 +++ b/dDashboardServer/templates/base.jinja2 @@ -5,6 +5,8 @@ {% block title %}DarkflameServer{% endblock %} + {# The menu hidden on wide screens stays hidden from page to page (header.jinja2), set before the first paint #} + @@ -17,6 +19,7 @@
+ DarkflameServer