Skip to content

Commit

Permalink
fix(prebuilt): multiple-choice poll questions should be visible
Browse files Browse the repository at this point in the history
  • Loading branch information
aldenquimby committed Feb 3, 2025
1 parent 569b73a commit c962a35
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions packages/roomkit-react/src/Checkbox/Checkbox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ const CheckboxRoot = styled(CheckboxPrimitive.Root, {

const CheckboxIndicator = styled(CheckboxPrimitive.Indicator, {
color: '$on_primary_high',
// center check svg within button box
lineHeight: 0,
});

export const Checkbox = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,9 @@ export const MultipleChoiceOptions = ({
<Flex direction="column" css={{ flexGrow: '1' }}>
<Flex css={{ w: '100%' }}>
<Text css={{ display: 'flex', flexGrow: '1' }}>
<Label htmlFor={`${questionIndex}-${option.index}`}>{option.text}</Label>
<Label htmlFor={`${questionIndex}-${option.index}`} css={{ color: 'inherit' }}>
{option.text}
</Label>
</Text>
{showVoteCount && <VoteCount voteCount={option.voteCount} />}
</Flex>
Expand Down

0 comments on commit c962a35

Please sign in to comment.