Skip to content

Commit

Permalink
Refactor #6636 - For Password
Browse files Browse the repository at this point in the history
  • Loading branch information
tugcekucukoglu committed Oct 24, 2024
1 parent 3e81b84 commit 65a6daa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/primevue/src/password/style/PasswordStyle.js
Original file line number Diff line number Diff line change
Expand Up @@ -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%;
Expand All @@ -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')});
}
`;

Expand Down

0 comments on commit 65a6daa

Please sign in to comment.