account + admin: scrollable nav rail + staff-console footer (Account dashboard, Sign out) #19
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/nav-scroll"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Both requests for the swisscairn.ch account/staff pages.
Scrollable nav rail
.sidebecomes a sticky, full-height flex column — the nav (.snav) scrolls on its own (flex:1; overflow) and the footer pins at the bottom, so the whole page no longer scrolls to reach nav items.aside.side(already sticky+height) converted to a flex column so the nav scrolls and a footer can pin. Same pattern Cairn's admin rail uses.@media(max-width:900px)drawer overridespositiontofixed; the added flex/overflow rules just make the drawer well-behaved too.Staff-console footer (admin.html)
The staff console had no way back or out. Added a pinned footer at the bottom of the rail:
account.htmlenter.html(admin had no sign-out at all before; addedsignOut()+ a delegated click handler since the rail re-renders per route).Anchored splices (assert count==1 each);
node --checkpasses on both pages' scripts.