fixed dark-theme password input style. fixes #1504
This commit is contained in:
parent
dc912678fe
commit
fbc4107262
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue