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

Close Button for Modal #284

Merged
merged 3 commits into from
Feb 7, 2025
Merged

Close Button for Modal #284

merged 3 commits into from
Feb 7, 2025

Conversation

miguelaenlle
Copy link
Contributor

  • Added cancel button to the modal view:
image

@miguelaenlle miguelaenlle changed the base branch from main to development February 2, 2025 17:20
Copy link

netlify bot commented Feb 2, 2025

Deploy Preview for hackillinois ready!

Name Link
🔨 Latest commit a0f585e
🔍 Latest deploy log https://app.netlify.com/sites/hackillinois/deploys/67a59adab655010008d95f12
😎 Deploy Preview https://deploy-preview-284--hackillinois.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@miguelaenlle miguelaenlle changed the title Cancel Button for Modal Close Button for Modal Feb 2, 2025
Copy link
Contributor

@J164 J164 left a comment

Choose a reason for hiding this comment

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

Looks good! One small style thing:

Copy link
Contributor

Choose a reason for hiding this comment

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

This style doesn't seem to be applying. Maybe the svg should be wrapped in a button (or the style could apply to the svg)?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hi @J164 . I wrapped the svg component in a button, so that the hover style would apply to the close button.

For reference, here's what the button looks like now:

Screenshot 2025-02-06 at 11 31 33 PM

Copy link
Contributor

@J164 J164 left a comment

Choose a reason for hiding this comment

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

Looks good!

@J164 J164 merged commit 35aea5e into development Feb 7, 2025
5 checks passed
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.

2 participants