mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-19 06:21:46 +01:00
fix(Progress): handle horizontal animation in RTL mode (#2723)
This commit is contained in:
@@ -162,7 +162,7 @@ export default (options: Required<ModuleOptions>) => ({
|
||||
orientation: 'horizontal',
|
||||
animation: 'carousel',
|
||||
class: {
|
||||
indicator: 'data-[state=indeterminate]:animate-[carousel_2s_ease-in-out_infinite]'
|
||||
indicator: 'data-[state=indeterminate]:animate-[carousel_2s_ease-in-out_infinite] data-[state=indeterminate]:rtl:animate-[carousel-rtl_2s_ease-in-out_infinite]'
|
||||
}
|
||||
}, {
|
||||
orientation: 'vertical',
|
||||
@@ -174,7 +174,7 @@ export default (options: Required<ModuleOptions>) => ({
|
||||
orientation: 'horizontal',
|
||||
animation: 'carousel-inverse',
|
||||
class: {
|
||||
indicator: 'data-[state=indeterminate]:animate-[carousel-inverse_2s_ease-in-out_infinite]'
|
||||
indicator: 'data-[state=indeterminate]:animate-[carousel-inverse_2s_ease-in-out_infinite] data-[state=indeterminate]:rtl:animate-[carousel-inverse-rtl_2s_ease-in-out_infinite]'
|
||||
}
|
||||
}, {
|
||||
orientation: 'vertical',
|
||||
|
||||
Reference in New Issue
Block a user