Skip to content

Commit 135f619

Browse files
author
shavonneg
committed
Change radio group from flex col to row
1 parent b5a9226 commit 135f619

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

frontend/src/app/dashboard/_components/FindMatch/ConfigurationPanel.tsx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -109,13 +109,13 @@ export default function ConfigurationPanel({
109109
>
110110

111111
<RadioGroup value={difficulties} onValueChange={(selectedValue: Difficulty) => setDifficulty(selectedValue)}>
112+
<div className="flex flex-row space-x-4">
112113
{difficultyOptions.map((difficultyOption) => (
113-
<div key={difficultyOption} className="flex items-center space-x-2">
114+
<div key={difficultyOption} className="flex items-center space-x-2 p-4">
114115
<RadioGroupItem
115116
value={difficultyOption}
116117
id={difficultyOption}
117-
className="flex items-center space-x-2"
118-
>
118+
className="flex items-center space-x-2">
119119
<span className="text-sm font-medium leading-none">{difficultyOption}</span>
120120
</RadioGroupItem>
121121
<label
@@ -126,6 +126,7 @@ export default function ConfigurationPanel({
126126
</label>
127127
</div>
128128
))}
129+
</div>
129130
</RadioGroup>
130131

131132
</div>

0 commit comments

Comments
 (0)