Skip to content

Commit

Permalink
Refactor #6677 - For Paginator
Browse files Browse the repository at this point in the history
  • Loading branch information
tugcekucukoglu committed Oct 30, 2024
1 parent 8e3dd99 commit 3b39b99
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions packages/primevue/src/paginator/style/PaginatorStyle.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ const theme = ({ dt }) => `
}
.p-paginator-content-start {
margin-right: auto;
margin-inline-end: auto;
}
.p-paginator-content-end {
margin-left: auto;
margin-inline-start: auto;
}
.p-paginator-page,
Expand Down Expand Up @@ -90,6 +90,19 @@ const theme = ({ dt }) => `
.p-paginator-jtp-input .p-inputtext {
max-width: ${dt('paginator.jump.to.page.input.max.width')};
}
.p-paginator-first:dir(rtl) {
order: 2;
}
.p-paginator-prev:dir(rtl) {
order: 1;
}
.p-paginator-next:dir(rtl) {
order: -1;
}
.p-paginator-last:dir(rtl) {
order: -2;
}
`;

const classes = {
Expand Down

0 comments on commit 3b39b99

Please sign in to comment.