fix(app): hover-card scrolling
This commit is contained in:
@@ -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>
|
||||||
|
|||||||
@@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user