Refactor #6636 - For Password
parent
3e81b842f8
commit
65a6daa7c8
|
@ -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')});
|
||||
}
|
||||
`;
|
||||
|
||||
|
|
Loading…
Reference in New Issue