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 gap styles

Marshall Bowers218922d9f857
diff --git a/crates/gpui3_macros/src/style_helpers.rs b/crates/gpui3_macros/src/style_helpers.rs
index 7210867c807..c8558e6e643 100644
--- a/crates/gpui3_macros/src/style_helpers.rs
+++ b/crates/gpui3_macros/src/style_helpers.rs
@@ -319,19 +319,19 @@ fn box_prefixes() -> Vec<(&'static str, bool, Vec<TokenStream2>, &'static str)>
"gap",
false,
vec![quote! { gap.width }, quote! { gap.height }],
- "todo!(docstring)",
+ "Sets the gap between rows and columns in flex layouts. [Docs](https://tailwindcss.com/docs/gap)"
),
(
"gap_x",
false,
vec![quote! { gap.width }],
- "todo!(docstring)",
+ "Sets the gap between columns in flex layouts. [Docs](https://tailwindcss.com/docs/gap#changing-row-and-column-gaps-independently)"
),
(
"gap_y",
false,
vec![quote! { gap.height }],
- "todo!(docstring)",
+ "Sets the gap between rows in flex layouts. [Docs](https://tailwindcss.com/docs/gap#changing-row-and-column-gaps-independently)"
),
]
}