Skip to content

Commit

Permalink
improve sizing some els in thermometer
Browse files Browse the repository at this point in the history
  • Loading branch information
glendc committed Feb 11, 2024
1 parent 3081a9d commit 8e72639
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions site/1/thermometer.html
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
#form-exercise button,
.exercise-feedback span {
margin: 5px;
font-size: 2em;
font-size: 1.5em;
}

.box {
Expand Down Expand Up @@ -200,6 +200,11 @@
#thermometer td.liquid {
background-color: red;
}

#button-increment,
#button-decrement {
padding-inline: 25px;
}
</style>
</head>

Expand Down Expand Up @@ -486,8 +491,8 @@ <h3 id="exercise-feedback">&nbsp;</h3>
document.getElementById("exercise-feedback").innerHTML = "kleur de thermometer 🎨";
document.getElementById("form-exercise").innerHTML = drawThermometer(window.thermomterState.exercise) + `
<div id="review-buttons">
<button type="button" id="button-decrement">➖ minder</button>
<button type="button" id="button-increment">meer ➕</button>
<button type="button" id="button-decrement">➖</button>
<button type="button" id="button-increment">➕</button>
</div>
<p>
<span class="box split-part">${window.thermomterState.exercise.value}</span>
Expand Down

0 comments on commit 8e72639

Please sign in to comment.