about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch/features
diff options
context:
space:
mode:
Diffstat (limited to 'app/javascript/flavours/glitch/features')
-rw-r--r--app/javascript/flavours/glitch/features/drawer/index.js13
1 files changed, 4 insertions, 9 deletions
diff --git a/app/javascript/flavours/glitch/features/drawer/index.js b/app/javascript/flavours/glitch/features/drawer/index.js
index 375954cb6..e6a689575 100644
--- a/app/javascript/flavours/glitch/features/drawer/index.js
+++ b/app/javascript/flavours/glitch/features/drawer/index.js
@@ -73,14 +73,11 @@ class Drawer extends React.Component {
       searchValue,
       submitted,
     } = this.props;
-
-    let innerDrawerAttrs = {
-      className: classNames('drawer--inner', 'mbstobon-' + elefriend),
-    };
+    const computedClass = classNames('drawer', `mbstobon-${elefriend}`);
 
     //  The result.
     return (
-      <div className='drawer'>
+      <div className={computedClass}>
         {multiColumn ? (
           <DrawerHeader
             columns={columns}
@@ -99,10 +96,8 @@ class Drawer extends React.Component {
         />
         <div className='contents'>
           <DrawerAccount account={account} />
-          <div {...innerDrawerAttrs}>
-            <Composer />
-            {multiColumn && <button className='mastodon' onClick={onClickElefriend} />}
-          </div>
+          <Composer />
+          {multiColumn && <button className='mastodon' onClick={onClickElefriend} />}
           <DrawerResults
             results={results}
             visible={submitted && !searchHidden}