1
0
Fork 1
mirror of https://github.com/Vendicated/Vencord.git synced 2025-01-10 09:56:24 +00:00

opaque looks better

This commit is contained in:
newwares 2024-05-18 11:42:32 -04:00
parent 0e466bda7c
commit 6992058bce
No known key found for this signature in database
GPG key ID: 07032940362D08BB

View file

@ -24,6 +24,7 @@ export default function ReplyNavigator({ replies }: { replies: Message[]; }) {
setVisible(true);
}, [replies]);
React.useEffect(() => {
// https://stackoverflow.com/a/42234988
function onMouseDown(event: MouseEvent) {
if (ref.current && event.target instanceof Element && !ref.current.contains(event.target)) {
setVisible(false);
@ -45,8 +46,7 @@ export default function ReplyNavigator({ replies }: { replies: Message[]; }) {
flexDirection: "row",
alignItems: "center",
paddingLeft: "1em",
paddingRight: "1em",
opacity: "80%"
paddingRight: "1em"
}}>
<Paginator
className={"vc-findreply-paginator"}