Change positioning strategy for reveal button to fix more complex layouts
This commit is contained in:
@@ -13,9 +13,10 @@ angular.module('Application').directive('passwordReveal', function () {
|
||||
var eye = document.createElement('i');
|
||||
eye.classList.add('fa');
|
||||
eye.classList.add('fa-eye-slash');
|
||||
eye.style.position = 'absolute';
|
||||
eye.style.right = '10px';
|
||||
eye.style.bottom = '10px';
|
||||
eye.style.position = 'relative';
|
||||
eye.style.float = 'right';
|
||||
eye.style.marginTop = '-23px';
|
||||
eye.style.marginRight = '10px';
|
||||
eye.style.cursor = 'pointer';
|
||||
|
||||
eye.addEventListener('click', function () {
|
||||
|
||||
Reference in New Issue
Block a user