fixed bug with 0-step

This commit is contained in:
Kostya
2024-01-20 13:05:38 +03:00
parent 506f508924
commit 70cb8c6564
2 changed files with 5 additions and 1 deletions

View File

@@ -235,6 +235,10 @@ input[type="number"]::-webkit-outer-spin-button {
display: flex; display: flex;
} }
.steps-btns__display span {
display: flex;
}
.btns-style__steps button { .btns-style__steps button {
border-radius: 10px; border-radius: 10px;
background: #252C47; background: #252C47;

View File

@@ -48,7 +48,7 @@
<template v-for="(item, index) in PercentageGameSteps" :key="index"> <template v-for="(item, index) in PercentageGameSteps" :key="index">
<swiper-slide> <swiper-slide>
<div class="steps-btns__display"> <div class="steps-btns__display">
<button>{{ item.toFixed(2) }} <span>{{ index }} {{ stepsEndOfWord(index) }}</span></button> <button>{{ item.toFixed(2) }} <span>{{ index + 1 }} {{ stepsEndOfWord(index) }}</span></button>
</div> </div>
</swiper-slide> </swiper-slide>
</template> </template>