fix(frontend): chat header keeps the name readable on a phone, all its actions are in its menu, menus open below the pointer and stay on screen

This commit is contained in:
hh committed 2026-10-19 06:19:46 +00:00
1 parent c307426f4e
commit d9378056f4
3 files changed
+26 -2

No files matched your search

@@ -185,6 +185,16 @@
<ContextMenuItem icon="recent" onselect={() => ui.openPanel("changes")}
>{t("feed.changes")}</ContextMenuItem
>
<ContextMenuItem icon="stats" onselect={() => ui.openPanel("presence")}
>{t("chat.analytics")}</ContextMenuItem
>
<ContextMenuItem
icon={backfilled ? "check" : "cloud-download"}
onselect={backfill}
>{backfilled
? t("chat.backfill.started")
: t("chat.backfill")}</ContextMenuItem
>
<ContextMenuItem
icon="play-story"
onselect={() => ui.openPanel("stories")}
@@ -209,6 +219,7 @@
</Button>
<Button
aria-label={t("feed.changes")}
class="wide-only"
onclick={() => ui.openPanel("changes")}
round
smaller
@@ -227,6 +238,7 @@
</Button>
<Button
aria-label={backfilled ? t("chat.backfill.started") : t("chat.backfill")}
class="wide-only"
loading={backfilling}
onclick={backfill}
round
@@ -286,6 +298,12 @@
align-items: center;
gap: 0.25rem;
margin-left: auto;
@media (max-width: 600px) {
:global(.wide-only) {
display: none;
}
}
}
.title {