From 3e3250452611efaf90a63d483d6af6a961ca1460 Mon Sep 17 00:00:00 2001 From: Marshall Bowers Date: Tue, 17 Oct 2023 16:07:52 -0400 Subject: [PATCH] Document `.size()` --- crates/gpui3_macros/src/style_helpers.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/gpui3_macros/src/style_helpers.rs b/crates/gpui3_macros/src/style_helpers.rs index b1a0dc9f672734111ddc5793a27a25cc7f2ba8f1..27392e81eeab543a2ca1f34bfe654d30005f8fe4 100644 --- a/crates/gpui3_macros/src/style_helpers.rs +++ b/crates/gpui3_macros/src/style_helpers.rs @@ -181,12 +181,12 @@ fn box_prefixes() -> Vec<(&'static str, bool, Vec, &'static str)> vec![quote! { size.width }], "Sets the width of the element. [Docs](https://tailwindcss.com/docs/width)", ), - ("h", true, vec![quote! { size.height }], "todo!(docstring)"), + ("h", true, vec![quote! { size.height }], "Sets the height of the element. [Docs](https://tailwindcss.com/docs/height)"), ( "size", true, vec![quote! {size.width}, quote! {size.height}], - "Sets the height of the element. [Docs](https://tailwindcss.com/docs/height)", + "Sets the width and height of the element." ), ( "min_w",