add back button
Build / Build-image (push) Failing after 29s

This commit is contained in:
2026-09-26 01:24:45 +02:00
parent 57d57a7d74
commit 1cae84b229
2 changed files with 21 additions and 9 deletions
+18 -4
View File
@@ -26,28 +26,42 @@ onMounted(() => {
<p> <p>
{{ wish.description }} {{ wish.description }}
</p> </p>
<br>
<div class="button-container">
<button>
Promise
</button><br>
<button @click="emit('closeWish')">
Back
</button>
</div>
</div> </div>
</template> </template>
<style lang="css" scoped> <style lang="css" scoped>
.button-container {
text-align: center;
}
button {
font-size: 3.5vh;
}
.main-panel { .main-panel {
width: 100%; width: 100%;
margin: 30px; padding: 30px;
border-radius: 10px; border-radius: 10px;
} }
h1 { h1 {
font-size: 3vh; font-size: 3vh;
margin-right: 40px;
text-wrap: wrap; text-wrap: wrap;
padding-right: 40px;
} }
p { p {
font-size: 2vh; font-size: 2vh;
color: rgb(200,200,200); color: rgb(200,200,200);
margin-right: 50px; padding-right: 40px;
margin-top: 40px; margin-top: 40px;
text-wrap: wrap; text-wrap: wrap;
} }
+3 -5
View File
@@ -45,7 +45,7 @@ onMounted(() => {
</Transition> </Transition>
<Transition> <Transition>
<div v-if="selected!=-1"> <div v-if="selected!=-1">
<Wish :wish="wishes[selected]" selected :index="selected" @selectedWish="selectedWish"/> <Wish :wish="wishes[selected]" selected :index="selected" @selectedWish="selectedWish"/>
<WishPanel :wish="wishes[selected]" @closeWish="selected = -1"></WishPanel> <WishPanel :wish="wishes[selected]" @closeWish="selected = -1"></WishPanel>
</div> </div>
</Transition> </Transition>
@@ -64,13 +64,11 @@ onMounted(() => {
.push{ .push{
height: 50px; height: 50px;
} }
.v-enter-active, .v-enter-active {
.v-leave-active {
transition: opacity 0.5s ease; transition: opacity 0.5s ease;
} }
.v-enter-from, .v-enter-from {
.v-leave-to {
opacity: 0; opacity: 0;
} }
</style> </style>