Refactor #6636 - For IconField

pull/6620/head^2
tugcekucukoglu 2024-10-24 17:26:51 +03:00
parent 541a213e39
commit 52b07751a0
1 changed files with 4 additions and 4 deletions

View File

@ -14,19 +14,19 @@ const theme = ({ dt }) => `
} }
.p-iconfield .p-inputicon:first-child { .p-iconfield .p-inputicon:first-child {
left: ${dt('form.field.padding.x')}; inset-inline-start: ${dt('form.field.padding.x')};
} }
.p-iconfield .p-inputicon:last-child { .p-iconfield .p-inputicon:last-child {
right: ${dt('form.field.padding.x')}; inset-inline-end: ${dt('form.field.padding.x')};
} }
.p-iconfield .p-inputtext:not(:first-child) { .p-iconfield .p-inputtext:not(:first-child) {
padding-left: calc((${dt('form.field.padding.x')} * 2) + ${dt('icon.size')}); padding-inline-start: calc((${dt('form.field.padding.x')} * 2) + ${dt('icon.size')});
} }
.p-iconfield .p-inputtext:not(:last-child) { .p-iconfield .p-inputtext:not(:last-child) {
padding-right: calc((${dt('form.field.padding.x')} * 2) + ${dt('icon.size')}); padding-inline-end: calc((${dt('form.field.padding.x')} * 2) + ${dt('icon.size')});
} }
`; `;