Document padding styles

This commit is contained in:
Marshall Bowers 2023-10-17 16:10:30 -04:00
parent 3e32504526
commit 6f849e8f64

View file

@ -258,43 +258,43 @@ fn box_prefixes() -> Vec<(&'static str, bool, Vec<TokenStream2>, &'static str)>
quote! { padding.left }, quote! { padding.left },
quote! { padding.right }, quote! { padding.right },
], ],
"todo!(docstring)", "Sets the padding of the element. [Docs](https://tailwindcss.com/docs/padding)"
), ),
( (
"pt", "pt",
false, false,
vec![quote! { padding.top }], vec![quote! { padding.top }],
"todo!(docstring)", "Sets the top padding of the element. [Docs](https://tailwindcss.com/docs/padding#add-padding-to-a-single-side)"
), ),
( (
"pb", "pb",
false, false,
vec![quote! { padding.bottom }], vec![quote! { padding.bottom }],
"todo!(docstring)", "Sets the bottom padding of the element. [Docs](https://tailwindcss.com/docs/padding#add-padding-to-a-single-side)"
), ),
( (
"px", "px",
false, false,
vec![quote! { padding.left }, quote! { padding.right }], vec![quote! { padding.left }, quote! { padding.right }],
"todo!(docstring)", "Sets the horizontal padding of the element. [Docs](https://tailwindcss.com/docs/padding#add-horizontal-padding)"
), ),
( (
"py", "py",
false, false,
vec![quote! { padding.top }, quote! { padding.bottom }], vec![quote! { padding.top }, quote! { padding.bottom }],
"todo!(docstring)", "Sets the vertical padding of the element. [Docs](https://tailwindcss.com/docs/padding#add-vertical-padding)"
), ),
( (
"pl", "pl",
false, false,
vec![quote! { padding.left }], vec![quote! { padding.left }],
"todo!(docstring)", "Sets the left padding of the element. [Docs](https://tailwindcss.com/docs/padding#add-padding-to-a-single-side)"
), ),
( (
"pr", "pr",
false, false,
vec![quote! { padding.right }], vec![quote! { padding.right }],
"todo!(docstring)", "Sets the right padding of the element. [Docs](https://tailwindcss.com/docs/padding#add-padding-to-a-single-side)"
), ),
("top", true, vec![quote! { inset.top }], "todo!(docstring)"), ("top", true, vec![quote! { inset.top }], "todo!(docstring)"),
( (