fix(web): chat sidebar layout, media context actions, and scrollable chat info
Some checks failed
CI / test (push) Failing after 21s

This commit is contained in:
2026-03-08 10:30:38 +03:00
parent 6a96a99775
commit 1119cc65b8
4 changed files with 271 additions and 88 deletions

View File

@@ -117,8 +117,9 @@ export function NewChatPanel() {
return (
<>
<div className="absolute bottom-4 right-4 z-20">
<div className="relative">
{menuOpen ? (
<div className="mb-2 w-48 rounded-xl border border-slate-700/80 bg-slate-900/95 p-1 shadow-xl">
<div className="absolute bottom-14 right-0 w-48 rounded-xl border border-slate-700/80 bg-slate-900/95 p-1 shadow-xl">
<button className="block w-full rounded-lg px-3 py-2 text-left text-sm hover:bg-slate-800" onClick={() => void openSavedMessages()}>
Saved Messages
</button>
@@ -139,6 +140,7 @@ export function NewChatPanel() {
<button className="flex h-12 w-12 items-center justify-center rounded-full bg-sky-500 text-slate-950 shadow-lg hover:bg-sky-400" onClick={() => setMenuOpen((v) => !v)}>
<span className="block w-5 text-center text-2xl leading-none">{menuOpen ? "✕" : "+"}</span>
</button>
</div>
</div>
{dialog !== "none" ? (