Skip to content

Commit

Permalink
make headings same level in dropdown docs
Browse files Browse the repository at this point in the history
  • Loading branch information
MightyBurger committed Nov 15, 2024
1 parent 43f1e65 commit 6fed4f5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/views/dropdown.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
///
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit 6fed4f5

Please sign in to comment.