logo

mastofe

My custom branche(s) on git.pleroma.social/pleroma/mastofe
commit: aca988a16b4b5412e6bc7559a1822834c3af8fd7
parent: 75fbde1c1a9d130f9228bef276cd5f360a90d3f1
Author: Eugen Rochko <eugen@zeonfederated.com>
Date:   Tue,  6 Sep 2016 01:45:17 +0200

Fix for Drawer growing horizontally

Diffstat:

Mapp/assets/javascripts/components/components/drawer.jsx2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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> );