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

View File

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