cleaner fix but still a bandaid
This commit is contained in:
parent
db306c8c63
commit
632769eed3
1 changed files with 5 additions and 8 deletions
|
|
@ -1,5 +1,5 @@
|
||||||
<template>
|
<template>
|
||||||
<div v-for="(q, i) in questions" :key="i" :id="`question${q.questionSequence}`">
|
<div v-for="(q, i) in questions" :key="i" class="questionBlock">
|
||||||
<transition appear name="fade" mode="out-in">
|
<transition appear name="fade" mode="out-in">
|
||||||
<buttonQuestion
|
<buttonQuestion
|
||||||
v-if="q.answerSelected || q.questionSequence === currentQuestionNum"
|
v-if="q.answerSelected || q.questionSequence === currentQuestionNum"
|
||||||
|
|
@ -162,14 +162,11 @@ export default {
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
#question3{
|
|
||||||
|
.questionBlock:not(:nth-of-type(1)){
|
||||||
.button-question.radioQuestion >div {
|
.button-question.radioQuestion >div {
|
||||||
margin-top: 0.73rem;
|
margin-top: 0.73rem;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
#question2{
|
|
||||||
.button-question.radioQuestion >div {
|
|
||||||
margin-top: 0.73rem;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</style>
|
</style>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue