Skip to content

Commit f0ec463

Browse files
committed
refactor: docsTools.nav codestyle warning
1 parent 82db15b commit f0ec463

1 file changed

Lines changed: 10 additions & 11 deletions

File tree

docsTool/templates/nav.fs

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -48,17 +48,16 @@ let navItemIconOnly link ariaLabel inner =
4848
]
4949

5050
let dropDownNavMenu text items =
51-
li [ Class "nav-item dropdown" ][
52-
a [
53-
Id (sprintf "navbarDropdown-%s" text)
54-
Href "#"
55-
DataToggle "dropdown"
56-
AriaHasPopup true
57-
AriaExpanded false
58-
Class "nav-link dropdown-toggle" ]
59-
[ normalizeStr text ]
60-
ul [ HTMLAttr.Custom ("aria-labelledby", "dropdownMenu1")
61-
Class "dropdown-menu border-0 shadow" ] items ]
51+
li [ Class "nav-item dropdown" ] [
52+
a [ Id (sprintf "navbarDropdown-%s" text)
53+
Href "#"
54+
DataToggle "dropdown"
55+
AriaHasPopup true
56+
AriaExpanded false
57+
Class "nav-link dropdown-toggle" ]
58+
[ normalizeStr text ]
59+
ul [ HTMLAttr.Custom ("aria-labelledby", "dropdownMenu1")
60+
Class "dropdown-menu border-0 shadow" ] items ]
6261

6362
let dropDownNavItem text link =
6463
li [

0 commit comments

Comments
 (0)