Space change between questions
SSR-354
This commit is contained in:
parent
75d0a97965
commit
bad0ab8d9a
1 changed files with 14 additions and 1 deletions
|
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<div v-for="(q, i) in questions" :key="i">
|
||||
<div v-for="(q, i) in questions" :key="i" :id="`question${q.questionSequence}`">
|
||||
<transition appear name="fade" mode="out-in">
|
||||
<buttonQuestion
|
||||
v-if="q.answerSelected || q.questionSequence === currentQuestionNum"
|
||||
|
|
@ -11,6 +11,7 @@
|
|||
:modelValue="q.answerSelected"
|
||||
@update:modelValue="handleAnswer(q, $event)"
|
||||
isRequired
|
||||
isFirstChildElement
|
||||
:validationRules="validationRules" />
|
||||
</transition>
|
||||
</div>
|
||||
|
|
@ -161,3 +162,15 @@ export default {
|
|||
},
|
||||
};
|
||||
</script>
|
||||
<style lang="scss">
|
||||
#question3{
|
||||
.button-question.radioQuestion >div {
|
||||
margin-top: 0.73rem;
|
||||
}
|
||||
}
|
||||
#question2{
|
||||
.button-question.radioQuestion >div {
|
||||
margin-top: 0.73rem;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
|
|
|||
Loading…
Reference in a new issue