Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Document width and height styles

Marshall Bowers8c02de6c617b
diff --git a/crates/gpui3_macros/src/style_helpers.rs b/crates/gpui3_macros/src/style_helpers.rs
index 8090112077b..7a71da28c77 100644
--- a/crates/gpui3_macros/src/style_helpers.rs
+++ b/crates/gpui3_macros/src/style_helpers.rs
@@ -186,31 +186,31 @@ fn box_prefixes() -> Vec<(&'static str, bool, Vec<TokenStream2>, &'static str)>
"size",
true,
vec![quote! {size.width}, quote! {size.height}],
- "todo!(docstring)",
+ "Sets the height of the element. [Docs](https://tailwindcss.com/docs/height)",
),
(
"min_w",
true,
vec![quote! { min_size.width }],
- "todo!(docstring)",
+ "Sets the minimum width of the element. [Docs](https://tailwindcss.com/docs/min-width)",
),
(
"min_h",
true,
vec![quote! { min_size.height }],
- "todo!(docstring)",
+ "Sets the minimum height of the element. [Docs](https://tailwindcss.com/docs/min-height)",
),
(
"max_w",
true,
vec![quote! { max_size.width }],
- "todo!(docstring)",
+ "Sets the maximum width of the element. [Docs](https://tailwindcss.com/docs/max-width)",
),
(
"max_h",
true,
vec![quote! { max_size.height }],
- "todo!(docstring)",
+ "Sets the maximum height of the element. [Docs](https://tailwindcss.com/docs/max-height)",
),
(
"m",