From bb91c062326fd2ca5c9a6a9d7ac4e536e414ad1b Mon Sep 17 00:00:00 2001 From: "plebeius.eth" Date: Mon, 11 Dec 2023 22:05:11 +0100 Subject: [PATCH] style(challenge modal): fix z index --- src/components/challenge-modal/challenge-modal.module.css | 2 +- src/components/post/comment-tools/comment-tools.tsx | 7 +------ 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/src/components/challenge-modal/challenge-modal.module.css b/src/components/challenge-modal/challenge-modal.module.css index ad9732ff..2b60d16b 100644 --- a/src/components/challenge-modal/challenge-modal.module.css +++ b/src/components/challenge-modal/challenge-modal.module.css @@ -1,5 +1,5 @@ .modal { - z-index: 1; + z-index: 7; outline: unset; position: fixed; top: 50%; diff --git a/src/components/post/comment-tools/comment-tools.tsx b/src/components/post/comment-tools/comment-tools.tsx index 9214bf05..00d2f94a 100644 --- a/src/components/post/comment-tools/comment-tools.tsx +++ b/src/components/post/comment-tools/comment-tools.tsx @@ -73,11 +73,6 @@ const ModTools = ({ cid }: CommentToolsProps) => { const headingId = useId(); - const handlePublish = () => { - console.log('publishing', publishCommentEditOptions) - publishCommentEdit(); - } - return ( <>
  • @@ -113,7 +108,7 @@ const ModTools = ({ cid }: CommentToolsProps) => {
    - +