Skip to content

Commit

Permalink
fix: height of checkbox
Browse files Browse the repository at this point in the history
  • Loading branch information
dest1n1s committed Aug 26, 2023
1 parent 1e4339a commit 843c056
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions src/pages/question/[index].vue
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,10 @@
>
</v-radio>
</v-radio-group>
<template v-else-if="currentQuestion.type === 'multi-selection'">
<div
v-else-if="currentQuestion.type === 'multi-selection'"
class="ml-n1 my-1"
>
<v-checkbox
v-for="item in currentQuestion.options"
:key="item"
Expand All @@ -37,10 +40,11 @@
: 'color.question.blank'
)
"
hide-details
@update:model-value="updateCheckboxGroup"
>
</v-checkbox>
</template>
</div>
</v-card-text>
<v-card-text style="display: grid; grid-template-columns: repeat(3, minmax(0, 1fr))">
<div class="d-flex justify-start">
Expand Down Expand Up @@ -165,3 +169,9 @@ onBeforeMount(() => {
}
}
</route>

<style>
.v-checkbox .v-selection-control {
min-height: unset !important;
}
</style>

0 comments on commit 843c056

Please sign in to comment.