Skip to content

Commit

Permalink
docs(design): clean up navbar docs (#2769)
Browse files Browse the repository at this point in the history
  • Loading branch information
xelaint committed Mar 6, 2024
1 parent 3797d77 commit 98e9090
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/design-land/src/app/navbar/navbar.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ <h2>Theming</h2>
</design-land-article-encapsulated>

<h2>Contained Navbar</h2>
<p>A navbar can be contained to a specific width by using <code>&lt;daff-container&gt;</code>. <a routerLink="/container">(View Container Documentation)</a> The layout styles for the navbar will be passed down to the container by utilizing the <code>daffManageContainerLayoutMixin</code>.</p>
<p>A navbar can be contained to a specific width by using the <a routerLink="/container">Container</a> component. The layout styles set on the navbar will automatically be passed down to the container.</p>
<design-land-article-encapsulated>
<design-land-example-viewer-container example="contained-navbar"></design-land-example-viewer-container>
</design-land-article-encapsulated>
Expand Down
2 changes: 1 addition & 1 deletion libs/design/navbar/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Supported colors: `primary | secondary | tertiary | black | white | theme | them
<design-land-example-viewer-container example="navbar-theming"></design-land-example-viewer-container>

## Contained Navbar
A navbar can be contained to a specific width by using `<daff-container>`. [View Container Documentation](/libs/design/src/atoms/container/README.md) The layout styles for the navbar will be passed down to the container by utilizing the `daffManageContainerLayoutMixin`.
A navbar can be contained to a specific width by using the [Container](/libs/design/src/atoms/container/README.md) component. The layout styles set on the navbar will automatically be passed down to the container.

<design-land-example-viewer-container example="contained-navbar"></design-land-example-viewer-container>

Expand Down

0 comments on commit 98e9090

Please sign in to comment.