feat(webui): refine day-night themes and interaction continuity

This commit is contained in:
Xubin Ren committed 2026-11-07 23:19:32 +08:00
1 parent 12c7d116a0
commit e8544a79a6
32 files changed
+613 -29

No files matched your search

+2 -2
View File
@@ -257,9 +257,9 @@ function Sidebars() {
return <div className="space-y-3">
<Button onClick={() => setOpen(!open)}>{t("controls.sidebarPanel.toggle")}</Button>
<div className="thread-preview-layout relative h-64 overflow-hidden rounded-xl border">
{open && <SidebarPanel width={320} header={<span>{t("controls.sidebarPanel.title")}</span>}>
<SidebarPanel open={open} width={320} header={<span>{t("controls.sidebarPanel.title")}</span>}>
<p className="p-4 text-sm">{t("controls.sidebarPanel.content")}</p>
</SidebarPanel>}
</SidebarPanel>
</div>
</div>;
}