Update ScaleQuestion.vue

This commit is contained in:
Vyacheslav 2024-08-26 15:41:17 +03:00
parent 1a9e38730f
commit f78c41f956

View file

@ -12,6 +12,7 @@
v-model="selectedValue" v-model="selectedValue"
:required="isRequired" :required="isRequired"
@change="updateValue" @change="updateValue"
class="rating-option--btn"
/> />
<span>{{ n }}</span> <span>{{ n }}</span>
</label> </label>
@ -92,7 +93,7 @@ function cancelSelection() {
gap: 0 50px; gap: 0 50px;
width: 100%; width: 100%;
@media (max-width: 730px) { @media (max-width: 810px) {
flex-direction: column; flex-direction: column;
gap: 15px 0; gap: 15px 0;
} }
@ -102,9 +103,15 @@ function cancelSelection() {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
gap: 10px 0; gap: 20px 0;
@media (max-width: 730px) { &--btn {
width: 20px;
height: 20px;
cursor: pointer;
}
@media (max-width: 810px) {
flex-direction: initial; flex-direction: initial;
gap: 0 15px; gap: 0 15px;
} }