Skip to content

Commit 733e8b6

Browse files
committed
fix(renderers): correct Bootstrap class for dropdown navigation
This class not being set correctly may cause odd rendering artifacts in the documentation.
1 parent 0115123 commit 733e8b6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/renderers.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ end
3737

3838
function render(doc::DropdownNav, dir, thispagepath, prettyurls)
3939
return @htl """
40-
<div class="nav-dropown">
40+
<div class="nav-dropdown">
4141
<button class="nav-item dropdown-label">$(doc.name)</button>
4242
<ul class="nav-dropdown-container">
4343
$([render(doc, dir, thispagepath, prettyurls) for doc in doc.children])
@@ -48,7 +48,7 @@ end
4848

4949
function render(doc::MegaDropdownNav, dir, thispagepath, prettyurls)
5050
return @htl """
51-
<div class="nav-dropown">
51+
<div class="nav-dropdown">
5252
<button class="nav-item dropdown-label">$(doc.name)</button>
5353
<div class="nav-dropdown-container nav-mega-dropdown-container">
5454
$([render(doc, dir, thispagepath, prettyurls) for doc in doc.columns])

0 commit comments

Comments
 (0)