Skip to content

Commit

Permalink
chore(intranet-header): fix dropdown nav-link documentation (#3762)
Browse files Browse the repository at this point in the history
  • Loading branch information
alizedebray authored Oct 16, 2024
1 parent a69caa6 commit 5672deb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/loud-dingos-remember.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@swisspost/design-system-documentation': patch
---

Fixed the dropdown toggle in the example of the intranet header with a navigation bar.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<li class="nav-item"><a class="nav-link">Link 1</a></li>
<li class="nav-item"><a class="nav-link">Link 2</a></li>
<li class="nav-item" ngbDropdown>
<span class="nav-link" id="toggle" ngbDropdownToggle>Dropdown</span>
<button class="nav-link" id="toggle" ngbDropdownToggle>Dropdown</button>
<div class="dropdown-menu" aria-labelledby="toggle" ngbDropdownMenu>
<a class="dropdown-item" ngbDropdownItem>Dropdown link 1</a>
<a class="dropdown-item" ngbDropdownItem>Dropdown link 2</a>
Expand Down

0 comments on commit 5672deb

Please sign in to comment.