Skip to content

Commit d251c79

Browse files
girlpunkjosephperrott
authored andcommitted
docs(sidenav): add note about mat-sidenav placement (#12613)
1 parent 1f9df4c commit d251c79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/sidenav/sidenav.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ to specify which end of the main content to place the side content on. `position
2828
`start` or `end` which places the side content on the left or right respectively in left-to-right
2929
languages. If the `position` is not set, the default value of `start` will be assumed. A
3030
`<mat-sidenav-container>` can have up to two `<mat-sidenav>` elements total, but only one for any
31-
given side.
31+
given side. The `<mat-sidenav>` must be placed as an immediate child of the `<mat-sidenav-container>`.
3232

3333
The main content should be wrapped in a `<mat-sidenav-content>`. If no `<mat-sidenav-content>` is
3434
specified for a `<mat-sidenav-container>`, one will be created implicitly and all of the content

0 commit comments

Comments
 (0)