Skip to content

Commit

Permalink
docs(small-stage): focusable breadcrumb in small stage example (#1207)
Browse files Browse the repository at this point in the history
* fix(breadcrumb): remove native outline

* docs(small-stage): make breadcrumb focusable

* docs(small-stage): make breadcrumb focusable

* fix(header): prevent style leak

* Revert "fix(header): prevent style leak"

This reverts commit 9800f11974ee1f514e445cd3c21b09b8457765f2.

* fix(breadcrumb): revert
  • Loading branch information
vt-allianz authored and GitHub Enterprise committed Jun 5, 2024
1 parent 01e518f commit f5ccd56
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ <h2 nxHeadline="section">Headline text</h2>
<nx-small-stage class="nx-margin-bottom-m">
<nav aria-label="Breadcrumb" nxSmallStageHeader>
<ol nxBreadcrumb>
<li><a nxBreadcrumbItem>Home</a></li>
<li><a nxBreadcrumbItem>Insurance</a></li>
<li><a nxBreadcrumbItem>Health Insurance</a></li>
<li><a href="#" nxBreadcrumbItem>Home</a></li>
<li><a href="#" nxBreadcrumbItem>Insurance</a></li>
<li><a href="#" nxBreadcrumbItem>Health Insurance</a></li>
</ol>
</nav>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@
<nav aria-label="Breadcrumb" nxSmallStageHeader>
<ol nxBreadcrumb>
<li *ngFor="let item of dynamicItems; let i = index">
<a nxBreadcrumbItem (click)="goToItem(i)" routerLink="#">
<a
nxBreadcrumbItem
(click)="goToItem(i)"
href="javascript:void(0)"
>
{{ item }}
</a>
</li>
Expand Down

0 comments on commit f5ccd56

Please sign in to comment.