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

Fixed cancel and update profile buttons moving on /profile url. #42

Merged
merged 2 commits into from
Jul 1, 2023

Conversation

yogeshbhutkar
Copy link
Contributor

Issue Addressed: #39

What was solved:
The buttons were moving when the password and confirm password weren't matching.

How was it solved:
I added a dummy invisible text to replace the passwords don't match text. So the new text takes up space and wouldn't let the buttons move above.

References:

Before:
https://github.com/coronasafe/ayushma_fe/assets/73941119/8058fc59-856c-42a5-bc00-c76cb0327359

After/ Proposed Changes:
https://github.com/coronasafe/ayushma_fe/assets/73941119/dcbba38a-efd5-44ef-8970-1a8009ba69ce

@vercel
Copy link

vercel bot commented Jun 19, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
ayushma-fe ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 20, 2023 0:07am

<p className="text text-sm text-red-500 mb-2">
Passwords do not match
</p>
) : (
<p className="text-transparent text-sm mb-2">Hidden Text</p>
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
<p className="text-transparent text-sm mb-2">Hidden Text</p>
<p className="text-transparent text-sm mb-2">&nbsp;</p>

Text can still be highlighted : )

@yogeshbhutkar
Copy link
Contributor Author

Fixed, text can't be highlighted now.

@shivankacker shivankacker merged commit 709da9e into ohcnetwork:master Jul 1, 2023
1 check 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