Skip to content

Commit b5e3e9d

Browse files
committed
Update button variants in ConfigurationPanel component
1 parent 07e1997 commit b5e3e9d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ export default function ConfigurationPanel({
8484
<div className="flex flex-col gap-4">
8585
<Button
8686
onClick={() => setCollapseDifficulties(!collapseDifficulties)}
87+
variant={collapseDifficulties ? "soft" : "outline"}
8788
>
8889
<div className="flex flex-row justify-between w-full">
8990
<span>Select difficulties</span>
@@ -143,7 +144,10 @@ export default function ConfigurationPanel({
143144
</div>
144145
))}
145146
</div>
146-
<Button onClick={() => setCollapseTopics(!collapseTopics)}>
147+
<Button
148+
onClick={() => setCollapseTopics(!collapseTopics)}
149+
variant={collapseTopics ? "soft" : "outline"}
150+
>
147151
<div className="flex flex-row items-center justify-between w-full">
148152
<span>Select topics</span>
149153
<CaretDownIcon

0 commit comments

Comments
 (0)