Skip to content

Instantly share code, notes, and snippets.

@rezazoom
Created August 27, 2025 08:38
Show Gist options
  • Select an option

  • Save rezazoom/976ba03cbbf05f29e452cced409b3172 to your computer and use it in GitHub Desktop.

Select an option

Save rezazoom/976ba03cbbf05f29e452cced409b3172 to your computer and use it in GitHub Desktop.
RTL for Jira board
/*
* Custom CSS for proper Persian (RTL) rendering in Jira.
*
* How to apply:
* Jira Administration > System > User Interface > Announcement Banner
* Paste this CSS inside the banner to inject it globally.
*
* Notes:
* - Main content fields (comments, descriptions, agile board issues) are forced to RTL.
* - Code/preformatted blocks are explicitly excluded and kept LTR for readability.
*/
.action-body,
.user-content-block,
.wiki-edit-content,
.ghx-detail-summary,
.ghx-issue-content {
direction: rtl !important;
text-align: right !important;
unicode-bidi: plaintext !important;
font-family: "Vazirmatn", "Tahoma", sans-serif !important;
}
.code,
.preformatted {
direction: ltr !important;
text-align: left !important;
unicode-bidi: embed !important;
font-family: monospace !important;
}
@rezazoom
Copy link
Author

How to apply:
Go to: Jira Administration > System > User Interface > Announcement Banner
Paste this HTML tag inside the banner to inject it globally.
<link rel="stylesheet" href="https://gist.githubusercontent.com/rezazoom/976ba03cbbf05f29e452cced409b3172/raw/jira-rtl.css">

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment