fix: chat auto-scroll
This commit is contained in:
@ -216,7 +216,6 @@ export function LiveChat({
|
|||||||
return null;
|
return null;
|
||||||
})}
|
})}
|
||||||
{feed.length === 0 && <Spinner />}
|
{feed.length === 0 && <Spinner />}
|
||||||
<div className="pt-[50dvh]"></div>
|
|
||||||
</div>
|
</div>
|
||||||
{(canWrite ?? true) && (
|
{(canWrite ?? true) && (
|
||||||
<div className="flex gap-2 border-t py-2 border-layer-1">
|
<div className="flex gap-2 border-t py-2 border-layer-1">
|
||||||
|
@ -214,7 +214,7 @@ export function DashboardForLink({ link }: { link: NostrLink }) {
|
|||||||
{streamLink && status === StreamState.Live && (
|
{streamLink && status === StreamState.Live && (
|
||||||
<>
|
<>
|
||||||
<DashboardZapColumn ev={streamEvent!} link={streamLink} feed={feed} />
|
<DashboardZapColumn ev={streamEvent!} link={streamLink} feed={feed} />
|
||||||
<div className="border border-layer-2 rounded-xl px-4 py-3 flex flex-col">
|
<div className="border border-layer-2 rounded-xl px-4 py-3 flex flex-col min-h-0">
|
||||||
<Layer1Button onClick={() => {
|
<Layer1Button onClick={() => {
|
||||||
window.open(`${window.location.protocol}//${window.location.host}/chat/${link.encode()}?chat=true`, "", "popup=true,width=400,height=800")
|
window.open(`${window.location.protocol}//${window.location.host}/chat/${link.encode()}?chat=true`, "", "popup=true,width=400,height=800")
|
||||||
}}>
|
}}>
|
||||||
|
Reference in New Issue
Block a user