Refactor #6690 - For Carousel
parent
c05a3b52d6
commit
fd072af265
|
@ -18,6 +18,10 @@ const theme = ({ dt }) => `
|
||||||
gap: ${dt('carousel.content.gap')};
|
gap: ${dt('carousel.content.gap')};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.p-carousel-content:dir(rtl) {
|
||||||
|
flex-direction: row-reverse;
|
||||||
|
}
|
||||||
|
|
||||||
.p-carousel-viewport {
|
.p-carousel-viewport {
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
@ -28,6 +32,10 @@ const theme = ({ dt }) => `
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.p-carousel-item-list:dir(rtl) {
|
||||||
|
flex-direction: row-reverse;
|
||||||
|
}
|
||||||
|
|
||||||
.p-carousel-prev-button,
|
.p-carousel-prev-button,
|
||||||
.p-carousel-next-button {
|
.p-carousel-next-button {
|
||||||
align-self: center;
|
align-self: center;
|
||||||
|
|
Loading…
Reference in New Issue