palantir/blueprint

RTL Support

Open

#3,754 opened on Sep 27, 2019

View on GitHub
 (3 comments) (0 reactions) (0 assignees)TypeScript (2,167 forks)batch import
Domain: designStatus: needs proposalType: enhancementhelp wanted

Repository metrics

Stars
 (20,263 stars)
PR merge metrics
 (Avg merge 43d 10h) (27 merged PRs in 30d)

Description

Environment

  • Package version(s): 3
  • Browser and OS versions: Chrome, Windows 10

Question

For an app that is bilingual, It's obvious that changing the document direction is not enough.

Here is a sandbox example using the following components:

  • Navbar
  • Slider
  • Select
  • Breadcrumb
  • Menu
  • Tree
  • Table

With most components, the main problem appears to be with inner elements text alignment, margins, icons (mainly carets). However, the table component is totally messed up.

What's the proper way to use blueprint in a bilingual app having both LTR and RTL languages ?

Contributor guide