Skip to content
Snippets Groups Projects
Commit aca988a1 authored by Eugen Rochko's avatar Eugen Rochko
Browse files

Fix for Drawer growing horizontally

parent 75fbde1c
Branches
Tags
No related merge requests found
......@@ -6,7 +6,7 @@ const Drawer = React.createClass({
render () {
return (
<div style={{ width: '280px', flex: '0', boxSizing: 'border-box', background: '#454b5e', margin: '10px', marginRight: '0', padding: '0', display: 'flex', flexDirection: 'column' }}>
<div style={{ width: '280px', flex: '0 0 auto', boxSizing: 'border-box', background: '#454b5e', margin: '10px', marginRight: '0', padding: '0', display: 'flex', flexDirection: 'column' }}>
{this.props.children}
</div>
);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment