From 6fed4f58a696a7a71bab3afda6d7750b0aae1b44 Mon Sep 17 00:00:00 2001 From: MightyBurger <52584279+MightyBurger@users.noreply.github.com> Date: Thu, 14 Nov 2024 22:50:58 -0700 Subject: [PATCH] make headings same level in dropdown docs --- src/views/dropdown.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/views/dropdown.rs b/src/views/dropdown.rs index d39c9ae6..5faf7397 100644 --- a/src/views/dropdown.rs +++ b/src/views/dropdown.rs @@ -63,7 +63,7 @@ prop_extractor!(DropdownStyle { /// /// Choose the constructor that best fits your needs based on the level of customization required. /// -/// # Usage with Enums +/// ## Usage with Enums /// /// A common scenario is populating a dropdown menu from an enum. The `widget-gallery` example does this. /// @@ -147,7 +147,8 @@ prop_extractor!(DropdownStyle { /// # } /// ``` /// -/// **Styling**: +/// ## Styling +/// /// You can modify the behavior of the dropdown through the `CloseOnAccept` property. /// If the property is set to `true`, the dropdown will automatically close when an item is selected. /// If the property is set to `false`, the dropdown will not automatically close when an item is selected.