mirror of
https://github.com/plebbit/seedit.git
synced 2026-04-21 15:48:43 -04:00
style(challenge modal): fix z index
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
.modal {
|
||||
z-index: 1;
|
||||
z-index: 7;
|
||||
outline: unset;
|
||||
position: fixed;
|
||||
top: 50%;
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user