fixed dark-theme password input style. fixes #1504

This commit is contained in:
Danny Coates 2020-07-31 08:49:24 -07:00
parent dc912678fe
commit fbc4107262
No known key found for this signature in database
GPG Key ID: 4C442633C62E00CB
1 changed files with 7 additions and 2 deletions

View File

@ -69,8 +69,13 @@ module.exports = function(state, emit) {
const input = document.getElementById('password-input'); const input = document.getElementById('password-input');
const btn = document.getElementById('password-btn'); const btn = document.getElementById('password-btn');
label.classList.add('invisible'); label.classList.add('invisible');
input.classList.remove('border-red'); input.classList.remove('border-red', 'dark:border-red-40');
btn.classList.remove('bg-red', 'hover:bg-red', 'focus:bg-red'); btn.classList.remove(
'bg-red',
'hover:bg-red',
'focus:bg-red',
'dark:bg-red-40'
);
} }
function checkPassword(event) { function checkPassword(event) {