]> cat aescling's git repositories - mastodon.git/commitdiff
Do not display elephant friend in single-column layout (#6222)
authorEugen Rochko <eugen@zeonfederated.com>
Mon, 8 Jan 2018 02:50:53 +0000 (03:50 +0100)
committerGitHub <noreply@github.com>
Mon, 8 Jan 2018 02:50:53 +0000 (03:50 +0100)
app/javascript/mastodon/features/compose/index.js

index c3e936ab9becc386ce69bc13dc937a9ad927b709..3f75a218d0fe9329fc664f0d79d0d0ddf43eff53 100644 (file)
@@ -94,7 +94,7 @@ export default class Compose extends React.PureComponent {
           <div className='drawer__inner' onFocus={this.onFocus}>
             <NavigationContainer onClose={this.onBlur} />
             <ComposeFormContainer />
-            <div className='mastodon' />
+            {multiColumn && <div className='mastodon' />}
           </div>
 
           <Motion defaultStyle={{ x: -100 }} style={{ x: spring(showSearch ? 0 : -100, { stiffness: 210, damping: 20 }) }}>