From 65a6daa7c88fc1c297283d67dd7d80caba49a953 Mon Sep 17 00:00:00 2001 From: tugcekucukoglu Date: Thu, 24 Oct 2024 17:27:55 +0300 Subject: [PATCH] Refactor #6636 - For Password --- packages/primevue/src/password/style/PasswordStyle.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/primevue/src/password/style/PasswordStyle.js b/packages/primevue/src/password/style/PasswordStyle.js index 85ea0a144..eae4cf8d6 100644 --- a/packages/primevue/src/password/style/PasswordStyle.js +++ b/packages/primevue/src/password/style/PasswordStyle.js @@ -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')}); } `;