Skip to content

In RTL mode modal title and close button are near to each other #1444

Open
@Abdulhadiaf

Description

  • I have searched the Issues to see if this bug has already been reported
  • I have tested the latest version

Steps to reproduce

  1. Go to 'https://flowbite-react.com/docs/components/modal'
  2. Click on 'RTL mode modal'
  3. Review classes of Modal.Header

Current behavior

In RTL mode modal title and close button are near to each other
issue

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
issue_fixed

Metadata

Assignees

No one assigned

    Labels

    🐛 bugSomething isn't workingconfirmedThis bug was confirmed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions