Refactor #6636 - For Password

pull/6620/head^2
tugcekucukoglu 2024-10-24 17:27:55 +03:00
parent 3e81b842f8
commit 65a6daa7c8
1 changed files with 2 additions and 2 deletions

View File

@ -64,7 +64,7 @@ const theme = ({ dt }) => `
}
.p-password-toggle-mask-icon {
right: ${dt('form.field.padding.x')};
inset-inline-end: ${dt('form.field.padding.x')};
color: ${dt('password.icon.color')};
position: absolute;
top: 50%;
@ -74,7 +74,7 @@ const theme = ({ dt }) => `
}
.p-password:has(.p-password-toggle-mask-icon) .p-password-input {
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')});
}
`;