Skip to content

Fix RTL rendering in the PostgreSQL 19 Arabic press kit - #28

Closed
mmohali wants to merge 1 commit into
postgres:masterfrom
mmohali:fix/arabic-presskit-rtl
Closed

mmohali wants to merge 1 commit into
postgres:masterfrom
mmohali:fix/arabic-presskit-rtl

Conversation

@mmohali

@mmohali mmohali commented Nov 19, 2026

Copy link
Copy Markdown

The Arabic press kit declares RTL direction, but the shared site styles still left-align its paragraphs and headings. Mixed Arabic and English text also lacks consistent direction isolation, and several function calls have misplaced parentheses, such as ()lower instead of lower().

This change updates only templates/pages/about/press/presskit19/ar.html to:

  • Add Arabic language and RTL direction to each translated content block.
  • Use existing Bootstrap classes for right alignment, text wrapping, and list indentation.
  • Isolate English terms and SQL code to preserve their LTR order and punctuation.
  • Correct function calls to their logical character order.

Verified in a local presskit preview using pgweb's actual Django templates, stylesheets, and enforced security policy. Desktop and narrow-screen checks passed for alignment, list indentation, code direction, and horizontal overflow.

No shared CSS or base templates are changed.

@postgres-mirror

Copy link
Copy Markdown
Collaborator

Thanks for your Pull Request! 😄 This repo on GitHub is just a mirror of our real git repositories though, and can't really handle PRs. To submit a patch for inclusion in pgweb, please send an email to pgsql-www@lists.postgresql.org.

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.

2 participants