I enhanced the modal designby : centering the title, added placeholders for more clarity .
Also removed the X button for a better user experience (because no need for it since we have a cancel button).
I noticed that when i wrongly try to update the password, red text appears but even it i cancel and reopen the model it is still there so i fixed that bug also so it doesn't appear when i reopen.
Also i commented my code.
Related Issue
963
Screenshots (if applicable)
Modal Before:
Modal After:
Checklist
[X] I have tested these changes
[X] I have updated the relevant documentation
[X] I have commented my code, particularly in hard-to-understand areas
[X] I have made corresponding changes to the codebase
[X] My changes generate no new warnings or errors
[X] The title of my pull request is clear and descriptive
Description
I enhanced the modal designby : centering the title, added placeholders for more clarity . Also removed the X button for a better user experience (because no need for it since we have a cancel button). I noticed that when i wrongly try to update the password, red text appears but even it i cancel and reopen the model it is still there so i fixed that bug also so it doesn't appear when i reopen. Also i commented my code.
Related Issue
963
Screenshots (if applicable)
Modal Before:
Modal After:
Checklist