In RTL mode modal title and close button are near to each other #1444
Open
Description
- I have searched the Issues to see if this bug has already been reported
- I have tested the latest version
Steps to reproduce
- Go to 'https://flowbite-react.com/docs/components/modal'
- Click on 'RTL mode modal'
- Review classes of Modal.Header
Current behavior
In RTL mode modal title and close button are near to each other
Expected behavior
If the class ml-auto
changes to ms-auto
for modal close button, the issue will be fixed
In RTL mode the modal title should be at right side and close button need to be in left side