From 6992058bceec40bf7722acc2aebcc39b4b77ddbf Mon Sep 17 00:00:00 2001 From: newwares <45801973+waresnew@users.noreply.github.com> Date: Sat, 18 May 2024 11:42:32 -0400 Subject: [PATCH] opaque looks better --- src/plugins/findReply/ReplyNavigator.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/findReply/ReplyNavigator.tsx b/src/plugins/findReply/ReplyNavigator.tsx index a2891e9f7..ecb8e91b8 100644 --- a/src/plugins/findReply/ReplyNavigator.tsx +++ b/src/plugins/findReply/ReplyNavigator.tsx @@ -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" }}>