feat: reorder floors and num of rats in flexcontainer
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
moanos [he/him] 2024-07-21 23:05:08 +02:00
parent 90f08bf454
commit 6012d48197
2 changed files with 25 additions and 15 deletions

View File

@ -179,3 +179,8 @@ input[type="checkbox"] {
input.measurement {
margin-top: 5%;
}
.container-inputs {
display: flex;
flex-wrap: wrap;
}

View File

@ -69,13 +69,8 @@
</div>
</div>
</div>
<div class="input-element">
<div class="slidecontainer">
<label for="numRats" id="labelNumRats">Anzahl an Ratten ?</label>
<input type="range" min="3" max="15" value="4" class="slider" id="numRats">
</div>
</div>
<div class="container-inputs">
<div class="input-element">
<label for="numFullFloors">Vollebenen</label>
<div class="ncontainer">
@ -86,6 +81,15 @@
</div>
</div>
</div>
<div class="input-element">
<div class="slidecontainer">
<label for="numRats" id="labelNumRats">Anzahl an Ratten ?</label>
<input type="range" min="3" max="15" value="4" class="slider" id="numRats">
</div>
</div>
</div>
<div class="container output-element" id="resultsDiv">
</div>
</div>
@ -190,10 +194,11 @@
}
function updateViaManualMeasurements () {
function updateViaManualMeasurements() {
markActiveCage("ManualMeasurements");
update();
}
function update() {
const width = inputWidth.value
const depth = inputDepth.value