diff --git a/static/css/adsb_dashboard.css b/static/css/adsb_dashboard.css index 286fac9..421f613 100644 --- a/static/css/adsb_dashboard.css +++ b/static/css/adsb_dashboard.css @@ -211,9 +211,9 @@ body { .acars-collapse-btn { position: absolute; - right: 0; + left: 0; top: 50%; - transform: translateY(-50%); + transform: translateX(-100%) translateY(-50%); width: 24px; height: 80px; background: var(--bg-card); @@ -228,14 +228,10 @@ body { justify-content: center; gap: 6px; padding: 8px 0; - transition: background 0.2s, right 0.3s ease; + transition: background 0.2s; z-index: 100; } -.acars-sidebar.collapsed .acars-collapse-btn { - right: 100%; -} - .acars-collapse-btn:hover { background: rgba(74, 158, 255, 0.2); } diff --git a/templates/adsb_dashboard.html b/templates/adsb_dashboard.html index 07fcb70..42902bb 100644 --- a/templates/adsb_dashboard.html +++ b/templates/adsb_dashboard.html @@ -56,7 +56,7 @@