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}
>
-
+
+
+
+ {text && {text}}
);
}
@@ -103,11 +106,13 @@ export default class IconButton extends React.PureComponent {
title={title}
className={classes}
onClick={this.handleClick}
- style={style}
tabIndex={tabIndex}
disabled={disabled}
>
-
+
+
+
+ {text && {text}}
)}
diff --git a/app/gabsocial/features/status/components/action_bar.js b/app/gabsocial/features/status/components/action_bar.js
index 8ca178a5c..1e9450f99 100644
--- a/app/gabsocial/features/status/components/action_bar.js
+++ b/app/gabsocial/features/status/components/action_bar.js
@@ -247,12 +247,22 @@ class ActionBar extends React.PureComponent {
return (
-
- Reply
+
-
- Boost
+
@@ -264,8 +274,14 @@ class ActionBar extends React.PureComponent {
/>
))}
-
- Like
+
{shareButton}
diff --git a/app/styles/application.scss b/app/styles/application.scss
index 3b267a4bd..69ab8cccd 100644
--- a/app/styles/application.scss
+++ b/app/styles/application.scss
@@ -33,6 +33,7 @@
@import 'gabsocial/components/sidebar-menu';
@import 'gabsocial/components/hotkeys-modal';
@import 'gabsocial/components/emoji-reacts';
+@import 'gabsocial/components/detailed-status';
@import 'gabsocial/polls';
@import 'gabsocial/introduction';
diff --git a/app/styles/gabsocial/components.scss b/app/styles/gabsocial/components.scss
index c009a4c0d..dda4f4e4a 100644
--- a/app/styles/gabsocial/components.scss
+++ b/app/styles/gabsocial/components.scss
@@ -119,7 +119,7 @@
display: inline-block;
padding: 0;
color: $gab-secondary-text;
- border: none;
+ border: 0;
background: transparent;
cursor: pointer;
transition: color 100ms ease-in;
@@ -718,83 +718,6 @@
width: 23.15px;
}
-.detailed-status__action-bar-dropdown {
- flex: 1 1 auto;
- display: flex;
- align-items: center;
- justify-content: center;
- position: relative;
-}
-
-.detailed-status {
- background: lighten($ui-base-color, 4%);
- padding: 14px 10px;
-
- &--flex {
- display: flex;
- flex-wrap: wrap;
- justify-content: space-between;
- align-items: flex-start;
-
- .status__content,
- .detailed-status__meta {
- flex: 100%;
- }
- }
-
- .status__content {
- font-size: 19px;
- line-height: 24px;
-
- .emojione {
- width: 24px;
- height: 24px;
- margin: -1px 0 0;
- }
-
- .status__content__spoiler-link {
- line-height: 24px;
- margin: -1px 0 0;
- }
- }
-
- .video-player {
- margin-top: 8px;
- }
-}
-
-.detailed-status__meta {
- margin-top: 15px;
- color: $dark-text-color;
- font-size: 14px;
- line-height: 18px;
- display: flex;
-}
-
-.detailed-status__action-bar {
- background: lighten($ui-base-color, 4%);
- border-top: 1px solid lighten($ui-base-color, 8%);
- border-bottom: 1px solid lighten($ui-base-color, 8%);
- display: flex;
- flex-direction: row;
- padding: 10px 0;
-}
-
-.detailed-status__link {
- color: $action-button-color;
- cursor: pointer;
- text-decoration: none;
- font-size: 13px;
-}
-
-.detailed-status__favorites,
-.detailed-status__reblogs {
- display: inline-block;
- font-weight: 500;
- font-size: 12px;
- margin-left: 6px;
-}
-
.reply-indicator__content {
color: $gab-default-text-light;
font-size: 14px;
diff --git a/app/styles/gabsocial/components/detailed-status.scss b/app/styles/gabsocial/components/detailed-status.scss
new file mode 100644
index 000000000..6fe10a26e
--- /dev/null
+++ b/app/styles/gabsocial/components/detailed-status.scss
@@ -0,0 +1,92 @@
+.detailed-status__action-bar-dropdown {
+ flex: 1 1 auto;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ position: relative;
+}
+
+.detailed-status {
+ background: lighten($ui-base-color, 4%);
+ padding: 14px 10px;
+
+ &--flex {
+ display: flex;
+ flex-wrap: wrap;
+ justify-content: space-between;
+ align-items: flex-start;
+
+ .status__content,
+ .detailed-status__meta {
+ flex: 100%;
+ }
+ }
+
+ .status__content {
+ font-size: 19px;
+ line-height: 24px;
+
+ .emojione {
+ width: 24px;
+ height: 24px;
+ margin: -1px 0 0;
+ }
+
+ .status__content__spoiler-link {
+ line-height: 24px;
+ margin: -1px 0 0;
+ }
+ }
+
+ .video-player {
+ margin-top: 8px;
+ }
+}
+
+.detailed-status__meta {
+ margin-top: 15px;
+ color: $dark-text-color;
+ font-size: 14px;
+ line-height: 18px;
+ display: flex;
+}
+
+.detailed-status__action-bar {
+ background: lighten($ui-base-color, 4%);
+ border-top: 1px solid lighten($ui-base-color, 8%);
+ border-bottom: 1px solid lighten($ui-base-color, 8%);
+ display: flex;
+ flex-direction: row;
+ padding: 10px 0;
+}
+
+.detailed-status__link {
+ color: $action-button-color;
+ cursor: pointer;
+ text-decoration: none;
+ font-size: 13px;
+}
+
+.detailed-status__favorites,
+.detailed-status__reblogs {
+ display: inline-block;
+ font-weight: 500;
+ font-size: 12px;
+ margin-left: 6px;
+}
+
+.detailed-status__button {
+ text-align: left;
+ padding-left: 10px;
+
+ .icon-button {
+ display: inline-flex;
+ align-items: center;
+
+ .icon_button__text {
+ font-size: 14px;
+ padding-left: 3px;
+ transform: translateY(-1px);
+ }
+ }
+}