fix(app): hover-card scrolling

This commit is contained in:
Adam
2026-01-22 07:15:57 -06:00
parent 3807523f49
commit 8e3b459d77
2 changed files with 19 additions and 17 deletions

View File

@@ -1555,6 +1555,7 @@ export default function Layout(props: ParentProps) {
when={hoverReady()}
fallback={<div class="text-12-regular text-text-weak">{language.t("session.messages.loading")}</div>}
>
<div class="overflow-y-auto max-h-72 h-full">
<MessageNav
messages={hoverMessages() ?? []}
current={undefined}
@@ -1571,6 +1572,7 @@ export default function Layout(props: ParentProps) {
size="normal"
class="w-60"
/>
</div>
</Show>
</HoverCard>
</Show>

View File

@@ -34,7 +34,7 @@
[data-slot="hover-card-body"] {
padding: 4px;
max-height: inherit;
overflow-y: auto;
overflow: hidden;
}
}