]> cat aescling's git repositories - mastodon.git/commitdiff
Disallow compose navbar from being shrunk
authorJessica Stokes <hello@jessicastokes.net>
Thu, 5 Jan 2017 01:44:41 +0000 (17:44 -0800)
committerJessica Stokes <hello@jessicastokes.net>
Thu, 5 Jan 2017 01:44:41 +0000 (17:44 -0800)
app/assets/javascripts/components/features/compose/components/navigation_bar.jsx

index df94c30d22900e70f7f1c6647eb1e6e6b1b6f5ce..23d695f132deba107dc751adc51add926862a9d6 100644 (file)
@@ -16,7 +16,7 @@ const NavigationBar = React.createClass({
 
   render () {
     return (
-      <div style={{ padding: '10px', display: 'flex', cursor: 'default' }}>
+      <div style={{ padding: '10px', display: 'flex', flexShrink: '0', cursor: 'default' }}>
         <Permalink href={this.props.account.get('url')} to={`/accounts/${this.props.account.get('id')}`} style={{ textDecoration: 'none' }}><Avatar src={this.props.account.get('avatar')} size={40} /></Permalink>
 
         <div style={{ flex: '1 1 auto', marginLeft: '8px', color: '#9baec8' }}>