Update View.vue

This commit is contained in:
Vyacheslav 2024-08-25 18:09:35 +03:00
parent 9cc8b5cd67
commit ddff67f9c7

View file

@ -88,7 +88,7 @@ onMounted(async () => {
</div> </div>
<form @submit.prevent="submitForm" class=""> <form @submit.prevent="submitForm" class="">
<div class="view-form-q view-form-container"> <div class="view-form-q view-form-container">
<div class="default-card" v-for="question in currentPage.questions"> <div class="default-card form-red" v-for="question in currentPage.questions">
<div class="view-form-q-title"> <div class="view-form-q-title">
<h3 class="form-q-title">{{ question.label }}</h3> <h3 class="form-q-title">{{ question.label }}</h3>
<p class="form-q-description">{{ question.description }}</p> <p class="form-q-description">{{ question.description }}</p>
@ -148,6 +148,10 @@ onMounted(async () => {
padding: 25px; padding: 25px;
border-radius: 1rem; border-radius: 1rem;
} }
.form-red {
border: 1px solid var(--color-red);
}
.view { .view {
margin: 40px 0; margin: 40px 0;
&-form { &-form {