Skip to content

Commit 914f34f

Browse files
committed
Fix padding documentation
1 parent 9d4ab50 commit 914f34f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/docs/padding.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export const description = "Utilities for controlling an element's padding.";
2222
["pl", "padding-left"],
2323
].flatMap(([prefix, property]) => [
2424
[`${prefix}-<number>`, `${property}: calc(var(--spacing) * <number>);`],
25-
[`${prefix}-px`, `${property}: calc(var(--spacing) * 1px);`],
25+
[`${prefix}-px`, `${property}: 1px;`],
2626
[`${prefix}-(<custom-property>)`, `${property}: var(<custom-property>);`],
2727
[`${prefix}-[<value>]`, `${property}: <value>;`],
2828
])}

0 commit comments

Comments
 (0)