forked from Kieran/snort
Merge pull request #140 from v0l/fix-reply-bottom-thread
fix: add bottom margin to thread
This commit is contained in:
commit
3342f3bf79
3
src/Element/Thread.css
Normal file
3
src/Element/Thread.css
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
.thread-container {
|
||||||
|
margin: 12px 0 150px 0;
|
||||||
|
}
|
@ -1,3 +1,4 @@
|
|||||||
|
import "./Thread.css";
|
||||||
import { useMemo } from "react";
|
import { useMemo } from "react";
|
||||||
import { Link } from "react-router-dom";
|
import { Link } from "react-router-dom";
|
||||||
import { TaggedRawEvent, u256 } from "Nostr";
|
import { TaggedRawEvent, u256 } from "Nostr";
|
||||||
@ -82,7 +83,7 @@ export default function Thread(props: ThreadProps) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<div className="thread-container">
|
||||||
{renderRoot()}
|
{renderRoot()}
|
||||||
{root ? renderChain(root.Id) : null}
|
{root ? renderChain(root.Id) : null}
|
||||||
{root ? null : <>
|
{root ? null : <>
|
||||||
@ -98,6 +99,6 @@ export default function Thread(props: ThreadProps) {
|
|||||||
)
|
)
|
||||||
})}
|
})}
|
||||||
</>}
|
</>}
|
||||||
</>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user