fix: mobile Go back moves into the drawer menu; topbar keeps only the hamburger

This commit is contained in:
Daniel 2026-09-09 15:19:10 +02:00
parent ff8c1132c1
commit cbddc43bb6

View file

@ -341,7 +341,12 @@ body.assistant-workspace .assistant-learning-view { min-height: 0; height: 100vh
/* Rail goback is mobile-only; the topbar goback is desktop-only */
.assistant-goback-rail { display:none; }
@media (max-width: 640px) {
.assistant-goback-rail { display:inline-flex; align-self:stretch; justify-content:flex-start; margin-bottom:6px; }
/* Go back lives in the drawer menu, clearly labeled at the top */
.assistant-goback-rail { display:flex; align-items:center; gap:10px; align-self:stretch; width:100%; border:none; background:none; color:var(--g700); font-size:14px; padding:12px; border-radius:8px; text-align:left; margin-bottom:4px; }
.assistant-goback-rail:hover { background:var(--g100); }
.assistant-goback-rail i { color:var(--g600); }
/* The topbar keeps only the hamburger; Go back is in the menu */
.assistant-topbar #btn-assistant-goback { display:none; }
}
/* Library item hover download */
.assistant-gallery-item-wrap { position:relative; }