Skip to content

Better support for RTL languages #4279

@cmintey

Description

@cmintey

Describe the feature in detail (code, mocks, or screenshots encouraged)

As I've been migration from v2, I've noticed just a couple things regarding RTL support.

  1. Some components appear to always set dir="ltr" rather than inheriting the dir from the HTML doc. Ones that I've observed: Tabs and Toast
  2. The table styles set text-align: left for headers. This should use text-align: start in order to support dir out of the box

There may be others and it's probably worth doing a more comprehensive audit of the components and styles. I think in general, the components should not have a default dir and rather inherit the property from an outer element (in my case, the root element), though allowing it to be overridden is great.

Provide relevant links, wireframes, prototypes, or additional information.

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestRequest a feature or introduce and update to the project.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions