Skip to content

Commit 4243d89

Browse files
authored
fix: correct syntax for flex custom properties (#2021)
Replaced flex-[<custom-property>] with flex-(<custom-property>) to align with the intended syntax and ensure consistency across the codebase. ![fix](https://github.com/user-attachments/assets/d200eeaf-4dc3-4524-94cd-9cc37e462c46)
1 parent 9e7285b commit 4243d89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/docs/flex.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export const description = "Utilities for controlling how flex items both grow a
1515
["flex-initial", "flex: 0 1 auto;"],
1616
["flex-none", "flex: none;"],
1717
["flex-[<value>]", "flex: <value>;"],
18-
["flex-[<custom-property>]", "flex: var(<custom-property>);"],
18+
["flex-(<custom-property>)", "flex: var(<custom-property>);"],
1919
]}
2020
/>
2121

0 commit comments

Comments
 (0)