Browse Source

Fix for Drawer growing horizontally

master
Eugen Rochko 8 years ago
parent
commit
aca988a16b
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/assets/javascripts/components/components/drawer.jsx

+ 1
- 1
app/assets/javascripts/components/components/drawer.jsx View File

@ -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>
);

Loading…
Cancel
Save