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

[BUG]: Arabic letters style in dialog caption #1001

Open
1 task
mahmudmardini opened this issue Jan 30, 2025 · 3 comments
Open
1 task

[BUG]: Arabic letters style in dialog caption #1001

mahmudmardini opened this issue Jan 30, 2025 · 3 comments
Labels
bug Something isn't working

Comments

@mahmudmardini
Copy link
Contributor

Issue description

Issue description
Steps to Reproduce:

Open dialog component.

Use Arabic language in caption.

Add a caption with (ع, خ, ج) letters.

Expected Behavior:

Should see the caption correctly without cutted letters.

Actual Behavior:

Arabic letters like (ع, خ, ج) are displaying wrongly.

Additional Information:

Extra padding-Y should be added

Media & Screenshots

Image

Baklava Version

3.2.0

Operating system

  • OS: All
  • Browser All

Priority this issue should have

Low (slightly annoying)

Please review the checkboxes that are applicable.

  • This issue is directly related to React
@mahmudmardini mahmudmardini added the bug Something isn't working label Jan 30, 2025
@erbilnas
Copy link
Collaborator

erbilnas commented Jan 30, 2025

Hi @mahmudmardini, the default font is Rubik in Baklava Design System. You can use the latest beta version for RTL and Arabic language support or can change the default font: https://baklava.design/?path=/docs/design-system-typography--documentation#css-variables

@mahmudmardini
Copy link
Contributor Author

Hi @erbilnas, we do use latest baklava version and we use Cairo font for Arabic texts.

@erbilnas
Copy link
Collaborator

It seems I didn’t provide enough detail. You wrote you are currently using version 3.2, but RTL support was introduced in 3.3.0-beta.1. To enable this support, you can either upgrade to the latest beta version or change the font used by Baklava by following the documentation provided here.. Otherwise, Baklava still uses Rubik by default.

If the issue persists despite these steps, please share your code so we can better understand the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants