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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 fix(i18n): fix header anchor for RTL #270

Merged
merged 2 commits into from
Feb 12, 2024

Conversation

TheAwiteb
Copy link
Collaborator

@TheAwiteb TheAwiteb commented Feb 11, 2024

Fix #269

Will looks like after this PR

In English

untitled.mp4

In Arabic

untitled.mp4

@TheAwiteb TheAwiteb requested a review from welpo as a code owner February 11, 2024 18:46
@welpo
Copy link
Owner

welpo commented Feb 12, 2024

Hello!

Just pushed a commit to use the :dir() CSS pseudo-class to target the styling only for rtl text.

Can you please confirm it works as expected? I tested it locally and it looks good to me.

@TheAwiteb
Copy link
Collaborator Author

Can you please confirm it works as expected

Yes, is work great!!

@welpo welpo merged commit 009d2f6 into welpo:main Feb 12, 2024
1 check passed
@welpo welpo changed the title 🐛 fix(i18n): fix header anchor in arabic 🐛 fix(i18n): fix header anchor for RTL Feb 12, 2024
Smtbook pushed a commit to Smtbook/zola-theme-tabi that referenced this pull request Feb 29, 2024
welpo added a commit that referenced this pull request Sep 15, 2024
- Replace directional properties with logical ones.
- Enhance compatibility with right-to-left languages across the site's design.

Related: #257 #262 #270 #272 #274 #368
welpo added a commit that referenced this pull request Sep 15, 2024
- Replace directional properties with logical ones.
- Enhance compatibility with right-to-left languages across the site's design.

Related: #262 #270 #272 #274 #368
welpo added a commit that referenced this pull request Sep 15, 2024
- Replace directional properties with logical ones.
- Enhance compatibility with right-to-left languages across the site's design.

Related: #262 #270 #272 #274 #368
welpo added a commit that referenced this pull request Sep 15, 2024
- Replace directional properties with logical ones.
- Enhance compatibility with right-to-left languages across the site's design.

Related: #262 #270 #272 #274 #368
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.

Header anchor in Arabic text is not working
2 participants