feat: Update
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Simon 2024-02-21 15:26:44 +01:00
parent d7922166ba
commit 13c863d09b
2 changed files with 7 additions and 6 deletions

View File

@ -52,8 +52,8 @@ function validatePopup() {
).checked = true;
showHidePopup();
}
const h = ref(0);
const d = ref(0);
const h = ref();
const d = ref();
</script>
<template>
@ -136,8 +136,8 @@ const d = ref(0);
<input v-model="h" type="number" name="H" />
<label for="D">D (cm)</label>
<input v-model="d" type="number" name="D" />
<p v-if="d != 0"> {{ Math.round((h * 100) / d) }}</p>
<p v-if="d == 0" class="no-visible"></p>
<p v-if="d && d != 0"> {{ Math.round((h * 100) / d) }}</p>
<p v-if="!d || d == 0" class="no-visible"></p>
<button class="btn equal" @click="validatePopup">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 36 36">
<path

View File

@ -190,7 +190,7 @@ async function share() {
<template v-if="displayScoreResult && result">
<div>
<h2 class="center">{{ trad.result_title }}</h2>
<h2 class="center">{{ result.pde_qtra }}</h2>
<h2 class="center">{{ result.title }}</h2>
<div :class="'gradient size-' + results.length">
<div
v-for="item in results"
@ -352,8 +352,9 @@ label
h2
font-size: 2rem
font-weight: bold
line-height: 2.4rem
& + h2
line-height: 2rem
line-height: 3rem
font-size: 2.6rem
@media (max-height: 600px)