palantir/blueprint

RTL Support

Open

#3,754 创建于 2019年9月27日

在 GitHub 查看
 (3 评论) (0 反应) (0 负责人)TypeScript (2,167 fork)batch import
Domain: designStatus: needs proposalType: enhancementhelp wanted

仓库指标

Star
 (20,263 star)
PR 合并指标
 (平均合并 43天 10小时) (30 天内合并 27 个 PR)

描述

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 ?

贡献者指南