From 8c02de6c617b3e1a2a3fbcb7e7fe62f43504ab8a Mon Sep 17 00:00:00 2001 From: Marshall Bowers Date: Tue, 17 Oct 2023 16:06:07 -0400 Subject: [PATCH] Document width and height styles --- crates/gpui3_macros/src/style_helpers.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/crates/gpui3_macros/src/style_helpers.rs b/crates/gpui3_macros/src/style_helpers.rs index 8090112077b0a04d2e8f4b5f88dbb4ae281ebaeb..7a71da28c773284a8dd5307173b96fb0c29003aa 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, &'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",