Refactor #6690 - For Carousel

pull/6697/head
tugcekucukoglu 2024-10-31 10:24:50 +03:00
parent c05a3b52d6
commit fd072af265
1 changed files with 8 additions and 0 deletions

View File

@ -18,6 +18,10 @@ const theme = ({ dt }) => `
gap: ${dt('carousel.content.gap')};
}
.p-carousel-content:dir(rtl) {
flex-direction: row-reverse;
}
.p-carousel-viewport {
overflow: hidden;
width: 100%;
@ -28,6 +32,10 @@ const theme = ({ dt }) => `
flex-direction: row;
}
.p-carousel-item-list:dir(rtl) {
flex-direction: row-reverse;
}
.p-carousel-prev-button,
.p-carousel-next-button {
align-self: center;