Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🪲 Move the modal close button to top right/left corner (#5906)
This PR ensures that the close button of modals appears in the top right/left corners. Fixes #5887 **How to test** - To show an error modal: log in as a teacher and select a class. Click Add students > Create accounts. Try creating a student account with @ or multiple student accounts with less than 3 chars for usernames and this will trigger an error modal. If the error message is short, the close button should be aligned with the text and if the error message is multiple lines, the close button should be aligned with the first row of the text. If you use a left-to-right language such as Arabic, the close button should appear on the left. - To show a success modal: log in to an account and go to account settings. Change the language of your profile and this will trigger a successful modal. Double-check that for left-to-right languages, the close button should appear on the left. Co-Authored-By: Jesús Pelay <[email protected]>
- Loading branch information