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

Slug url breaks in RTL layouts #12

Open
movaziri opened this issue Jan 4, 2023 · 3 comments
Open

Slug url breaks in RTL layouts #12

movaziri opened this issue Jan 4, 2023 · 3 comments

Comments

@movaziri
Copy link

movaziri commented Jan 4, 2023

When you're using the input field in a right to left website, the slug part breaks, both the preview and the edit:

Screen Shot 2023-01-04 at 14 41 10

Screen Shot 2023-01-04 at 14 43 10

We can keep using LTR explicitly for this section.

@camya
Copy link
Owner

camya commented Jan 4, 2023

Hi, I really like to fix this for right to left websites. Unfortunately I can't simulate rtl this on my dev-environment.

Maybe you have an idea how to make it work both left-to-right (ltr) and right-to-left (rtl)?

@movaziri
Copy link
Author

movaziri commented Jan 7, 2023

It's more of a design choice than a technical issue.
I think just put a dir="ltr" on the main div, cause URLs are supposed to be read from left to right anyway.

@hassan-hasson
Copy link

hassan-hasson commented Oct 4, 2023

Hi, I really like to fix this for right to left websites. Unfortunately I can't simulate rtl this on my dev-environment.

Maybe you have an idea how to make it work both left-to-right (ltr) and right-to-left (rtl)?

you can use https://filamentphp.com/plugins/bezhansalleh-language-switch and switch to arabic for rtl and english for ltr

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

No branches or pull requests

3 participants