mirror of
https://gitlab.com/MrFry/qmining-page
synced 2025-04-01 20:23:44 +02:00
Style and layout improvements on modals
/posting modal still needs some fixing tho/
This commit is contained in:
parent
cdc2b3fd66
commit
b0cbc5aa5e
10 changed files with 606 additions and 5426 deletions
|
@ -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={() => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue