Keep the sidebar in view on long pages

Beside the page, the sidebar now stays in place while the page scrolls,
so the account link and Sign out are always visible; it scrolls by
itself in very short windows. On a phone it still stacks above the page.
Also show the version with one 'v': release builds already start with it.
This commit is contained in:
Daniel Redetzke
2026-10-04 16:36:30 +03:00
parent 255fed8189
commit 72eab1c834
2 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -518,7 +518,7 @@
h('span', null, h('strong', null, me.name), h('span', null, 'My account')))),
h('div', { class: 'footrow' },
h('button', { type: 'button', onClick: logout }, 'Sign out'),
h('span', null, 'v' + me.version))));
h('span', null, 'v' + me.version.replace(/^v/, '')))));
main = h('main', { class: 'main', id: 'main' });
app.replaceChildren(h('div', { class: 'shell' }, nav, main));
refreshSide();