Skip to content

Commit

Permalink
Wrap with label
Browse files Browse the repository at this point in the history
  • Loading branch information
filiptronicek committed Nov 15, 2023
1 parent f2b16d3 commit 79eda6a
Showing 1 changed file with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,15 +78,13 @@ export const ConfigurationWorkspaceSizeOptions = ({ configuration }: Props) => {
</div>
<RadioGroup value={selectedValue} onValueChange={setSelectedValue}>
{classes.map((wsClass) => (
<div className="flex items-start space-x-2 my-2">
<RadioGroupItem value={wsClass.id} id={wsClass.id} />
<Label className="flex items-start space-x-2 my-2">
<RadioGroupItem value={wsClass.id} />
<div className="flex flex-col">
<Label htmlFor={wsClass.id} className="font-bold">
{wsClass.displayName}
</Label>
<span className="font-bold">{wsClass.displayName}</span>
<span>{wsClass.description}</span>
</div>
</div>
</Label>
))}
</RadioGroup>
<LoadingButton
Expand Down

0 comments on commit 79eda6a

Please sign in to comment.