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:
parent
0e466bda7c
commit
6992058bce
1 changed files with 2 additions and 2 deletions
|
@ -24,6 +24,7 @@ export default function ReplyNavigator({ replies }: { replies: Message[]; }) {
|
||||||
setVisible(true);
|
setVisible(true);
|
||||||
}, [replies]);
|
}, [replies]);
|
||||||
React.useEffect(() => {
|
React.useEffect(() => {
|
||||||
|
// https://stackoverflow.com/a/42234988
|
||||||
function onMouseDown(event: MouseEvent) {
|
function onMouseDown(event: MouseEvent) {
|
||||||
if (ref.current && event.target instanceof Element && !ref.current.contains(event.target)) {
|
if (ref.current && event.target instanceof Element && !ref.current.contains(event.target)) {
|
||||||
setVisible(false);
|
setVisible(false);
|
||||||
|
@ -45,8 +46,7 @@ export default function ReplyNavigator({ replies }: { replies: Message[]; }) {
|
||||||
flexDirection: "row",
|
flexDirection: "row",
|
||||||
alignItems: "center",
|
alignItems: "center",
|
||||||
paddingLeft: "1em",
|
paddingLeft: "1em",
|
||||||
paddingRight: "1em",
|
paddingRight: "1em"
|
||||||
opacity: "80%"
|
|
||||||
}}>
|
}}>
|
||||||
<Paginator
|
<Paginator
|
||||||
className={"vc-findreply-paginator"}
|
className={"vc-findreply-paginator"}
|
||||||
|
|
Loading…
Reference in a new issue