Skip to content

Commit

Permalink
save
Browse files Browse the repository at this point in the history
  • Loading branch information
JurreBrandsenInfoSupport committed Mar 22, 2024
1 parent 617a68a commit a8e5f87
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions src/components/survey-questions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -188,11 +188,15 @@ export function SurveyQuestions({
<FormMessage />
</TableCell>
{answerOptions.map((option) => (
<TableCell
key={option.id}
className={`${field.value === option.id || responses[question.id] === option.id ? "rounded-lg bg-custom-selectedLight dark:bg-custom-selected" : ""} w-[300px]`}
>
<label className="flex h-[40px] cursor-pointer items-center justify-center ">
<TableCell key={option.id} className="w-[300px]">
<label
className={`${
field.value === option.id ||
responses[question.id] === option.id
? "rounded-lg border border-custom-selectedLight dark:border-custom-selected "
: ""
}flex h-[40px] cursor-pointer items-center justify-center`}
>
<FormItem>
<FormControl>
<RadioGroup
Expand Down

0 comments on commit a8e5f87

Please sign in to comment.