inputs rtl

עומר asked a year ago

hey im trying to use MDBInputs with rtl but it doesn't really works correctly. the box getting split to 3 and the label stays on the left side

maybe im missing something, how do i fix it?

thanks


Mateusz Lazaru staff answered a year ago

You have probably imported mdb-react-ui-kit/dist/css/mdb.min.css. Change it to mdb-react-ui-kit/dist/css/mdb.rtl.min.css.

Keep the style I mentioned and it should look like expected.


עומר commented a year ago

yeah that was the problem, thanks alot!


Mateusz Lazaru staff answered a year ago

Does setting CSS direction help?

* {
  direction: rtl;
}

problem solved when i changed it to mdb-react-ui-kit/dist/css/mdb.rtl.min.css. Thank!


FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Closed

Specification of the issue
  • User: Free
  • Premium support: No
  • Technology: MDB React
  • MDB Version: MDB5 6.3.0
  • Device: Desktop
  • Browser: chrome
  • OS: windows
  • Provided sample code: No
  • Provided link: No