-
Notifications
You must be signed in to change notification settings - Fork 587
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(Carousel): use dir
from locale
#2647
Conversation
Carousel
in RTL mode
commit: |
Carousel
in RTL mode
Don't you need to rotate the arrows in horizontal mode as well? π€ |
@@ -18,8 +18,8 @@ export default (options: Required<ModuleOptions>) => ({ | |||
vertical: { | |||
container: 'flex-col -mt-4', | |||
item: 'pt-4', | |||
prev: '-top-12 left-1/2 -translate-x-1/2 rotate-90', | |||
next: '-bottom-12 left-1/2 -translate-x-1/2 rotate-90' | |||
prev: '-top-12 left-1/2 -translate-x-1/2 rotate-90 rtl:-rotate-90', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But you only applied rotate for vertical
mode here π€
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But you only applied rotate for
vertical
mode here π€
@benjamincanac Check the image after it has been updated
direction
from locale
direction
from localedir
from locale
π Linked issue
β Type of change
π Description
Screen.Recording.2024-11-14.at.10.32.09.PM.mov
π Checklist