Skip to content

Commit

Permalink
fixed dark-theme password input style. fixes mozilla#1504
Browse files Browse the repository at this point in the history
  • Loading branch information
dannycoates committed Jul 31, 2020
1 parent dc91267 commit fbc4107
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions app/ui/downloadPassword.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,13 @@ module.exports = function(state, emit) {
const input = document.getElementById('password-input');
const btn = document.getElementById('password-btn');
label.classList.add('invisible');
input.classList.remove('border-red');
btn.classList.remove('bg-red', 'hover:bg-red', 'focus:bg-red');
input.classList.remove('border-red', 'dark:border-red-40');
btn.classList.remove(
'bg-red',
'hover:bg-red',
'focus:bg-red',
'dark:bg-red-40'
);
}

function checkPassword(event) {
Expand Down

0 comments on commit fbc4107

Please sign in to comment.