From e64cc311dd8db5d56b6299e9d40e7060d0c25b7e Mon Sep 17 00:00:00 2001 From: David Yip Date: Sun, 14 Jan 2018 04:19:29 -0600 Subject: Introduce a bit of luck into the elefriend selection. #294. --- .../flavours/glitch/features/drawer/index.js | 9 ++++----- .../flavours/glitch/images/mbstobon-ui-3.png | Bin 0 -> 32449 bytes .../glitch/images/wave-drawer-glitched.png | Bin 0 -> 3544 bytes .../flavours/glitch/images/wave-drawer.png | Bin 0 -> 3269 bytes app/javascript/flavours/glitch/reducers/compose.js | 6 +++++- .../flavours/glitch/styles/components/drawer.scss | 22 +++++++++++++++------ 6 files changed, 25 insertions(+), 12 deletions(-) create mode 100644 app/javascript/flavours/glitch/images/mbstobon-ui-3.png create mode 100644 app/javascript/flavours/glitch/images/wave-drawer-glitched.png create mode 100644 app/javascript/flavours/glitch/images/wave-drawer.png diff --git a/app/javascript/flavours/glitch/features/drawer/index.js b/app/javascript/flavours/glitch/features/drawer/index.js index 832b16e6f..93457ad31 100644 --- a/app/javascript/flavours/glitch/features/drawer/index.js +++ b/app/javascript/flavours/glitch/features/drawer/index.js @@ -74,9 +74,8 @@ class Drawer extends React.Component { submitted, } = this.props; - let elefriendAttrs = { - className: classNames('mastodon', 'mbstobon-' + elefriend), - onClick: onClickElefriend, + let innerDrawerAttrs = { + className: classNames('drawer--inner', 'mbstobon-' + elefriend), }; // The result. @@ -100,9 +99,9 @@ class Drawer extends React.Component { />
-
+
- {multiColumn &&
} + {multiColumn &&
}