Adding correctness background color
This commit is contained in:
parent
f4a8439aee
commit
f091b318d4
@ -36,6 +36,7 @@
|
||||
</script>
|
||||
|
||||
{#if question}
|
||||
<div style={"background:" + (showResult ? (isCorrect ? "rgba(92, 255, 92, 0.30)" : "rgba(255, 92, 92, 0.46)") : "") + ";"}>
|
||||
<div class="margin">
|
||||
<h2>{@html question.title}</h2>
|
||||
</div>
|
||||
@ -58,6 +59,7 @@
|
||||
</button>
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
<style>
|
||||
|
Loading…
Reference in New Issue
Block a user