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);
|
||||
}, [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"}
|
||||
|
|
Loading…
Reference in a new issue