Force navbar collapse on split-screen desktop widths
This commit is contained in:
parent
40ffe3656e
commit
2cd704182c
@ -89,6 +89,27 @@ main.dashboard-container {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Navbar responsive behavior for split-screen/half-width desktop layouts */
|
/* Navbar responsive behavior for split-screen/half-width desktop layouts */
|
||||||
|
@media (max-width: 2200px) {
|
||||||
|
/* Force collapsed navbar mode for split-screen desktop usage */
|
||||||
|
.navbar.navbar-force-collapse .navbar-toggler {
|
||||||
|
display: block !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.navbar.navbar-force-collapse .navbar-collapse {
|
||||||
|
display: none !important;
|
||||||
|
width: 100%;
|
||||||
|
flex-basis: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.navbar.navbar-force-collapse .navbar-collapse.show {
|
||||||
|
display: block !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.navbar.navbar-force-collapse .navbar-nav {
|
||||||
|
flex-direction: column !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@media (max-width: 1399.98px) {
|
@media (max-width: 1399.98px) {
|
||||||
.navbar .navbar-collapse {
|
.navbar .navbar-collapse {
|
||||||
align-items: stretch;
|
align-items: stretch;
|
||||||
|
|||||||
@ -59,7 +59,7 @@
|
|||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<nav class="navbar navbar-expand-xxl fixed-top bg-body-tertiary border-bottom">
|
<nav class="navbar navbar-expand-xxl navbar-force-collapse fixed-top bg-body-tertiary border-bottom">
|
||||||
<div class="container-fluid">
|
<div class="container-fluid">
|
||||||
<a class="navbar-brand" href="{{ url_for('main.dashboard') }}">Backupchecks</a>
|
<a class="navbar-brand" href="{{ url_for('main.dashboard') }}">Backupchecks</a>
|
||||||
<button
|
<button
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user