mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-20 10:55:25 +00:00
fix(ui): Fix text/placeholder overlaps when Chrome autofill applies
This commit is contained in:
@@ -76,8 +76,14 @@
|
||||
} else {
|
||||
vm.retrievePasswordRecoveryEnabled();
|
||||
}
|
||||
}, 100);
|
||||
|
||||
// Manage autofill
|
||||
if (document.querySelectorAll('*:autofill').length > 0) {
|
||||
document.querySelectorAll('*:autofill').forEach((el) => {
|
||||
el.parentElement.classList.add("md-input-has-value");
|
||||
});
|
||||
}
|
||||
}, 100);
|
||||
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user