Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

common popup component is created and styled #56

Merged
merged 7 commits into from
Oct 1, 2019

Conversation

SajedaIsmail
Copy link
Collaborator

Relates #36

ahmedisam99
ahmedisam99 previously approved these changes Sep 29, 2019
Copy link
Collaborator

@ahmedisam99 ahmedisam99 left a comment

Choose a reason for hiding this comment

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

Wait for #55 to be merged and then use the common button from it

@ahmedisam99 ahmedisam99 added Approved This PR has been review and is approved for merging and removed Awaiting Review This PR is waiting to be reviewed labels Sep 29, 2019
ranasobeid95
ranasobeid95 previously approved these changes Sep 29, 2019
<div className="popup">
<img src={img} alt="food" className="popup-img" />
<p className="popup-text"> {message} </p>
<button type="submit" className="popup-button">
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why you didn't use Button component

.popup{
position: absolute;
text-align: center;
width: 80%;
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggestion you can use vw vh

Suggested change
width: 80%;
width: 80vw;

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

-_-

alaa-yasin
alaa-yasin previously approved these changes Sep 30, 2019
media query added for the larger screens to make the popup more responsive
Relates #36
ranasobeid95
ranasobeid95 previously approved these changes Sep 30, 2019
@ahmedisam99 ahmedisam99 added Changes Requested This PR has some changed that must be done before the next review and removed Approved This PR has been review and is approved for merging labels Sep 30, 2019
@SajedaIsmail SajedaIsmail added Awaiting Review This PR is waiting to be reviewed and removed Changes Requested This PR has some changed that must be done before the next review labels Sep 30, 2019
@ahmedisam99 ahmedisam99 added Approved This PR has been review and is approved for merging and removed Awaiting Review This PR is waiting to be reviewed labels Sep 30, 2019
@MohammadAlhalaq MohammadAlhalaq merged commit d57404b into master Oct 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Approved This PR has been review and is approved for merging
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants