Skip to content

Commit 3075266

Browse files
lsamboretrorabbitcrisbeto
authored andcommitted
docs(material/sidenav): drawer width in documenation example has content squeezed (#28893)
Fixes the documentation example in the Angular Material 'sidenav' component. The drawer width in the example does not adequately contain the content Fixes #28885 (cherry picked from commit 865895e)
1 parent be16b2c commit 3075266

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
.example-container {
2-
width: 400px;
2+
width: auto;
33
height: 200px;
44
margin: 10px;
55
border: 1px solid #555;
6+
/* The background property is added to clearly distinguish the borders between drawer and main content */
7+
background: #eee;
68
}

0 commit comments

Comments
 (0)