fix(webui): lock footer/header visibly using sticky + high z-index and solid background; preserve scroll position on history prepend; robust at-bottom detection
This commit is contained in:
parent
e4f58281fb
commit
21a49c18a0
2 changed files with 5 additions and 4 deletions
|
|
@ -1,6 +1,6 @@
|
|||
html, body { height: 100%; }
|
||||
body { padding: 0; display: grid; grid-template-rows: auto 1fr auto; min-height: 100vh; }
|
||||
header.nav { position: sticky; top: 0; z-index: 10; padding: .6rem 1rem; border-bottom: 1px solid var(--muted-border-color); display: flex; justify-content: space-between; align-items: center; background: var(--background-color); }
|
||||
header.nav { position: sticky; top: 0; z-index: 1000; padding: .6rem 1rem; border-bottom: 1px solid var(--muted-border-color); display: flex; justify-content: space-between; align-items: center; background-color: var(--pico-background-color, #fff); }
|
||||
header.nav a.brand { text-decoration: none; font-weight: 600; }
|
||||
/* Dashboard-only grid layout */
|
||||
.dash { display: grid; grid-template-columns: 220px 1fr; gap: 0; height: 100%; min-height: 0; }
|
||||
|
|
@ -11,7 +11,7 @@ header.nav a.brand { text-decoration: none; font-weight: 600; }
|
|||
#tail { flex: 1; overflow: visible; white-space: pre-wrap; word-break: break-word; overflow-wrap: anywhere; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; height: auto; }
|
||||
.ts { opacity: .66; }
|
||||
.msg { margin-bottom: .25rem; }
|
||||
footer { text-align: center; font-size: .85rem; padding: .5rem 0; opacity: .7; background: var(--background-color); }
|
||||
footer { position: sticky; bottom: 0; z-index: 1000; text-align: center; font-size: .85rem; padding: .5rem 0; opacity: .7; background-color: var(--pico-background-color, #fff); border-top: 1px solid var(--muted-border-color); }
|
||||
@media (max-width: 900px) { .dash { grid-template-columns: 1fr; } .dash aside.sidebar { display:none; } }
|
||||
/* Summarizer output wrapping */
|
||||
#out { white-space: pre-wrap; word-break: break-word; overflow-wrap: anywhere; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue