about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-09-06 01:45:17 +0200
committerEugen Rochko <eugen@zeonfederated.com>2016-09-06 01:45:17 +0200
commitaca988a16b4b5412e6bc7559a1822834c3af8fd7 (patch)
tree5f396eeee1573bfee3b2dabc6ba7294fa0e649b6
parent75fbde1c1a9d130f9228bef276cd5f360a90d3f1 (diff)
Fix for Drawer growing horizontally
-rw-r--r--app/assets/javascripts/components/components/drawer.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/components/components/drawer.jsx b/app/assets/javascripts/components/components/drawer.jsx
index cd43440f5..dfba11ad2 100644
--- a/app/assets/javascripts/components/components/drawer.jsx
+++ b/app/assets/javascripts/components/components/drawer.jsx
@@ -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>
     );