From 6e13cb8c9bff6c2020f1a606e8d843e64868fa0a Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Thu, 21 May 2020 20:33:55 -0500 Subject: [PATCH] Improve detailed status action buttons --- app/gabsocial/components/icon_button.js | 13 ++- .../features/status/components/action_bar.js | 28 ++++-- app/styles/application.scss | 1 + app/styles/gabsocial/components.scss | 79 +--------------- .../gabsocial/components/detailed-status.scss | 92 +++++++++++++++++++ 5 files changed, 125 insertions(+), 88 deletions(-) create mode 100644 app/styles/gabsocial/components/detailed-status.scss diff --git a/app/gabsocial/components/icon_button.js b/app/gabsocial/components/icon_button.js index f8816bbf7..afbddc117 100644 --- a/app/gabsocial/components/icon_button.js +++ b/app/gabsocial/components/icon_button.js @@ -64,6 +64,7 @@ export default class IconButton extends React.PureComponent { pressed, tabIndex, title, + text, } = this.props; const classes = classNames(className, 'icon-button', { @@ -84,11 +85,13 @@ export default class IconButton extends React.PureComponent { title={title} className={classes} onClick={this.handleClick} - style={style} tabIndex={tabIndex} disabled={disabled} > -