We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
padding
1 parent 9d4ab50 commit 914f34fCopy full SHA for 914f34f
src/docs/padding.mdx
@@ -22,7 +22,7 @@ export const description = "Utilities for controlling an element's padding.";
22
["pl", "padding-left"],
23
].flatMap(([prefix, property]) => [
24
[`${prefix}-<number>`, `${property}: calc(var(--spacing) * <number>);`],
25
- [`${prefix}-px`, `${property}: calc(var(--spacing) * 1px);`],
+ [`${prefix}-px`, `${property}: 1px;`],
26
[`${prefix}-(<custom-property>)`, `${property}: var(<custom-property>);`],
27
[`${prefix}-[<value>]`, `${property}: <value>;`],
28
])}
0 commit comments