Refactor #6680 - For Button

pull/6687/head
tugcekucukoglu 2024-10-30 12:07:11 +03:00
parent 762154382a
commit d4579d4b3a
1 changed files with 10 additions and 2 deletions

View File

@ -31,14 +31,22 @@ const theme = ({ dt }) => `
order: 1; order: 1;
} }
.p-button-icon-right:dir(rtl) {
order: -1;
}
.p-button:not(.p-button-vertical) .p-button-icon:not(.p-button-icon-right):dir(rtl) {
order: 1;
}
.p-button-icon-bottom { .p-button-icon-bottom {
order: 2; order: 2;
} }
.p-button-icon-only { .p-button-icon-only {
width: ${dt('button.icon.only.width')}; width: ${dt('button.icon.only.width')};
padding-left: 0; padding-inline-start: 0;
padding-right: 0; padding-inline-end: 0;
gap: 0; gap: 0;
} }