about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2018-01-08 03:50:53 +0100
committerGitHub <noreply@github.com>2018-01-08 03:50:53 +0100
commit93555182c3cfd810fc481d9451e990955a696ea4 (patch)
tree0f4b90b9d91685281bed5445e329adb7ff99b7a2
parent0eff42d6887de6de95c8950155381945c6054433 (diff)
Do not display elephant friend in single-column layout (#6222)
-rw-r--r--app/javascript/mastodon/features/compose/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/mastodon/features/compose/index.js b/app/javascript/mastodon/features/compose/index.js
index c3e936ab9..3f75a218d 100644
--- a/app/javascript/mastodon/features/compose/index.js
+++ b/app/javascript/mastodon/features/compose/index.js
@@ -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 }) }}>