Skip to content
This repository was archived by the owner on Jan 14, 2025. It is now read-only.

Update README.md #666

Merged
merged 2 commits into from
Feb 12, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion packages/drawer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ export default class App extends Component {
<div className='drawer-container'>
<TopAppBar title='Inbox'/>

<TopAppBarFixedAdjust>
<TopAppBarFixedAdjust className='top-app-bar-fix-adjust'>
<Drawer>
<DrawerHeader>
<DrawerTitle tag='h2'>
Expand Down Expand Up @@ -255,6 +255,11 @@ You will also need these styles:
flex: auto;
overflow: auto;
}

.top-app-bar-fix-adjust {
display: flex;
width: 100%;
}
```

There is a known issue with the dismissible drawer styles when putting the drawer below the top app bar. To get around this, you must update the `.mdc-drawer--dismissible` class in your CSS stylesheets.
Expand Down