BLT editor: Minor changes

Restyle textarea
Show correct ballot when returning from candidate edit screen
This commit is contained in:
RunasSudo 2021-01-25 20:51:23 +11:00
parent a2ed2a7755
commit f15e2bd89b
Signed by: RunasSudo
GPG Key ID: 7234E476BF21C61A
2 changed files with 4 additions and 3 deletions

View File

@ -261,6 +261,7 @@ function clickSaveCandidates() {
// Update ballot entry
initBallot();
changeBallot();
document.getElementById('bltMain').style.display = 'flex';
document.getElementById('divEditCandidates').style.display = 'none';

View File

@ -143,7 +143,7 @@ select, input, button {
line-height: 1.15;
}
select, input[type="text"], input[type="number"] {
select, input[type="text"], input[type="number"], textarea {
appearance: none;
background-color: #fff;
border: 1px solid;
@ -213,10 +213,10 @@ input[type="checkbox"]:checked {
background-size: contain;
}
button:focus, select:focus, input:focus {
button:focus, select:focus, input:focus, textarea:focus {
outline: 0;
}
select:focus, input:focus {
select:focus, input:focus, textarea:focus {
border-color: #3daee9;
}