Skip to content

Modal#36

Open
yonatanHammer wants to merge 23 commits into
mainfrom
modal
Open

Modal#36
yonatanHammer wants to merge 23 commits into
mainfrom
modal

Conversation

@yonatanHammer

Copy link
Copy Markdown
Collaborator

No description provided.

Comment thread frontend/src/components/ModalNewComment/ModalNewComment.js Outdated
Comment thread frontend/src/components/ModalNewComment/ModalNewComment.js Outdated
Comment thread frontend/src/components/ui/Modal/Modal.js Outdated
Comment thread frontend/src/components/ui/Modal/Modal.js Outdated
Comment on lines +5 to +8
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
position: fixed;

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not using flexbox?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In general, I see unnecessary overuse of position, top, bottom, left, and right in your code. Try to use flexbox instead.

Comment thread frontend/src/components/ui/Modal/Modal.module.css Outdated
Comment thread frontend/src/components/ModalNewPost/ModalNewPost.js Outdated
return (
<div className={`${styles.comment_container}`}>
<h1 className={`${styles.comment_title}`}> {title} </h1>
<h4 className={`${styles.comment_subTitle}`}> {post.location} </h4>

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use Text component for text

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

where do you want me to use it?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

everywhere you use headlines or text

Comment thread frontend/src/components/UploadFile/UploadFile.js Outdated
Comment thread frontend/src/components/UploadFile/UploadFile.js Outdated
Comment thread frontend/src/components/UploadFile/UploadFile.js Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants