From f15e2bd89b7de61d2f13367ab13674bb0f36aebc Mon Sep 17 00:00:00 2001 From: RunasSudo Date: Mon, 25 Jan 2021 20:51:23 +1100 Subject: [PATCH] BLT editor: Minor changes Restyle textarea Show correct ballot when returning from candidate edit screen --- html/blt/index.js | 1 + html/main.css | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/html/blt/index.js b/html/blt/index.js index 1ad023a..90ddf42 100644 --- a/html/blt/index.js +++ b/html/blt/index.js @@ -261,6 +261,7 @@ function clickSaveCandidates() { // Update ballot entry initBallot(); + changeBallot(); document.getElementById('bltMain').style.display = 'flex'; document.getElementById('divEditCandidates').style.display = 'none'; diff --git a/html/main.css b/html/main.css index 268348a..d445418 100644 --- a/html/main.css +++ b/html/main.css @@ -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; }