Skip to content

feat: add dir="auto" and text-align: justify for RTL support - #2823

Open
ssmns wants to merge 1 commit into
Redocly:mainfrom
ssmns:main
Open

feat: add dir="auto" and text-align: justify for RTL support#2823
ssmns wants to merge 1 commit into
Redocly:mainfrom
ssmns:main

Conversation

@ssmns

@ssmns ssmns commented Aug 9, 2026

Copy link
Copy Markdown
  • Add dir="auto" to

    elements in ApiInfo and ErrorBoundary

  • Add dir="auto" to H2 and H3 styled components
  • Add dir="auto" to SearchInput component
  • Add text-align: justify to p and h2 styles in Markdown blocks
  • Add DOMPurify hook to set dir="auto" on rendered p and h2 elements

What/Why/How?

Reference

Tests

Screenshots (optional)

Check yourself

  • Code is linted
  • Tested
  • All new/updated code is covered with tests

- Add dir="auto" to <p> elements in ApiInfo and ErrorBoundary
- Add dir="auto" to H2 and H3 styled components
- Add dir="auto" to SearchInput component
- Add text-align: justify to p and h2 styles in Markdown blocks
- Add DOMPurify hook to set dir="auto" on rendered p and h2 elements
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant