style(challenge modal): fix z index

This commit is contained in:
plebeius.eth
2023-12-11 22:05:11 +01:00
parent 4f07474f70
commit bb91c06232
2 changed files with 2 additions and 7 deletions

View File

@@ -1,5 +1,5 @@
.modal {
z-index: 1;
z-index: 7;
outline: unset;
position: fixed;
top: 50%;

View File

@@ -73,11 +73,6 @@ const ModTools = ({ cid }: CommentToolsProps) => {
const headingId = useId();
const handlePublish = () => {
console.log('publishing', publishCommentEditOptions)
publishCommentEdit();
}
return (
<>
<li className={styles.button} ref={refs.setReference} {...getReferenceProps()}>
@@ -113,7 +108,7 @@ const ModTools = ({ cid }: CommentToolsProps) => {
</div>
<div className={`${styles.menuItem} ${styles.menuReason}`}>
<input type='text' onChange={onReason} defaultValue={post?.reason} size={14} placeholder='reason' />
<button onClick={handlePublish}>{t('edit')}</button>
<button onClick={publishCommentEdit}>{t('edit')}</button>
</div>
</div>
</div>