Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃寪 Add Persian translation for docs/fa/docs/index.md and tweak right-to-left CSS #2395

Merged
merged 8 commits into from Jul 20, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/actions/notify-translations/app/translations.yml
Expand Up @@ -8,7 +8,7 @@ uk: 1748
tr: 1892
fr: 1972
ko: 2017
sq: 2041
fa: 2041
pl: 3169
de: 3716
id: 3717
Expand Down
21 changes: 21 additions & 0 deletions docs/en/docs/css/custom.css
Expand Up @@ -4,10 +4,21 @@
display: block;
}

.termy {
/* For right to left languages */
direction: ltr;
}

.termy [data-termynal] {
white-space: pre-wrap;
}

a.external-link {
/* For right to left languages */
direction: ltr;
display: inline-block;
}

a.external-link::after {
/* \00A0 is a non-breaking space
to make the mark be on the same line as the link
Expand Down Expand Up @@ -118,3 +129,13 @@ a.announce-link:hover {
.twitter {
color: #00acee;
}

/* Right to left languages */
code {
direction: ltr;
display: inline-block;
}

.md-content__inner h1 {
direction: ltr !important;
}