Skip to content

Commit 3599cda

Browse files
devin-ai-integration[bot]Alek Petuskey
andcommitted
fix: Update skills component to use rx.flex and soft badge variant
Co-Authored-By: Alek Petuskey <[email protected]>
1 parent 94ffd41 commit 3599cda

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

portfolio/portfolio/components/skills.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ def skill_card(title: str, skills: list[str]) -> rx.Component:
1313
font_weight="bold",
1414
margin_bottom="4",
1515
),
16-
rx.wrap(
16+
rx.flex(
1717
*[
1818
rx.badge(
1919
skill,
20-
color_scheme="primary",
21-
variant="subtle",
20+
color_scheme="blue",
21+
variant="soft",
2222
padding="2",
2323
border_radius="full",
2424
font_weight="medium",
@@ -36,6 +36,7 @@ def skill_card(title: str, skills: list[str]) -> rx.Component:
3636
for skill in skills
3737
],
3838
spacing="3",
39+
wrap="wrap",
3940
),
4041
align="start",
4142
height="100%",

0 commit comments

Comments
 (0)