Skip to content

Radio Group Misalignment #83

@GuyMcKechnie

Description

@GuyMcKechnie

As seen in the image below, the radio group item on the right is misaligned to the center whereas the fixed one is aligned to the left. Intentional?

Image

Fix:

<RadioGroup onValueChange={field.onChange} className="flex flex-col items-start space-y-1" > {[ ["On-Hand", "0"], ["In-Transit", "1"], ["Available", "2"], ["Reserved", "3"], ].map((option, index) => ( <FormItem className="flex items-center space-y-0 space-x-3" key={index} > <FormControl> <RadioGroupItem value={option[1]} /> </FormControl> <FormLabel className="font-normal"> {option[0]} </FormLabel> </FormItem> ))} </RadioGroup>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions