Style and layout improvements on modals

/posting modal still needs some fixing tho/
This commit is contained in:
ndaniel1102 2021-03-14 01:27:01 +01:00
parent cdc2b3fd66
commit b0cbc5aa5e
10 changed files with 606 additions and 5426 deletions

View file

@ -63,7 +63,7 @@ function Comment({ comment, index, onComment, onDelete, onReact, uid }) {
</div>
<div>User #{user}</div>
</div>
<div>{date}</div>
<div className={styles.commentDate}>{date}</div>
</div>
<div className={`${!displayed && styles.hidden}`}>
<div className={styles.commentText}> {content}</div>
@ -153,8 +153,8 @@ export default function Comments({
const [commentsShowing, setCommentsShowing] = useState(false)
const commentCount = comments ? countComments(comments) : 0
return (
<div>
return (
<div>
{commentsShowing ? (
<Modal
closeClick={() => {