+
-
-
+
{title}
{ count > 0 &&
diff --git a/app/javascript/gabsocial/components/sidebar_section_title.js b/app/javascript/gabsocial/components/sidebar_section_title.js
index 677183a6..a03f92ee 100644
--- a/app/javascript/gabsocial/components/sidebar_section_title.js
+++ b/app/javascript/gabsocial/components/sidebar_section_title.js
@@ -10,7 +10,7 @@ export default class SidebarSectionTitle extends PureComponent {
const { children } = this.props
return (
-
+
{children}
diff --git a/app/javascript/gabsocial/components/status/status.js b/app/javascript/gabsocial/components/status/status.js
index c6dd4af7..a456b1e9 100644
--- a/app/javascript/gabsocial/components/status/status.js
+++ b/app/javascript/gabsocial/components/status/status.js
@@ -330,14 +330,14 @@ class Status extends ImmutablePureComponent {
);
} else if (featured) {
prepend = (
-
+
-
+
{intl.formatMessage(messages.pinned)}
@@ -452,9 +452,9 @@ class Status extends ImmutablePureComponent {
const containerClasses = cx({
default: 1,
- marginBottom15PX: !borderless,
+ mb15: !borderless,
backgroundColorPrimary: 1,
- paddingBottom15PX: featured,
+ pb15: featured,
borderBottom1PX: featured,
borderColorSecondary: featured,
})
@@ -508,9 +508,10 @@ class Status extends ImmutablePureComponent {
) */ }
-
*/ }
diff --git a/app/javascript/gabsocial/components/status_action_bar.js b/app/javascript/gabsocial/components/status_action_bar.js
index 81335208..fa697fac 100644
--- a/app/javascript/gabsocial/components/status_action_bar.js
+++ b/app/javascript/gabsocial/components/status_action_bar.js
@@ -143,19 +143,19 @@ class StatusActionBar extends ImmutablePureComponent {
const containerClasses = cx({
default: 1,
- paddingHorizontal10PX: 1,
- marginTop10PX: !shouldCondense,
- marginTop5PX: shouldCondense,
+ px10: 1,
+ mt10: !shouldCondense,
+ mt5: shouldCondense,
})
const innerContainerClasses = cx({
default: 1,
- paddingVertical2PX: 1,
+ py2: 1,
flexRow: 1,
width100PC: 1,
borderTop1PX: !shouldCondense,
borderColorSecondary: !shouldCondense,
- marginTop5PX: hasInteractions,
+ mt5: hasInteractions,
})
const interactionBtnClasses = cx({
@@ -163,15 +163,15 @@ class StatusActionBar extends ImmutablePureComponent {
text: 1,
cursorPointer: 1,
fontWeightNormal: 1,
- marginRight10PX: 1,
- paddingVertical5PX: 1,
+ mr10: 1,
+ py5: 1,
})
return (
{
hasInteractions &&
-
+
{
favoriteCount > 0 &&
}
-
+
+
diff --git a/app/javascript/gabsocial/components/status_content/status_content.js b/app/javascript/gabsocial/components/status_content/status_content.js
index 004d45c8..ac198b58 100644
--- a/app/javascript/gabsocial/components/status_content/status_content.js
+++ b/app/javascript/gabsocial/components/status_content/status_content.js
@@ -170,7 +170,7 @@ class StatusContent extends ImmutablePureComponent {
// 'status__content--with-action': this.props.onClick && this.context.router,
// 'status__content--with-spoiler': status.get('spoiler_text').length > 0,
// 'status__content--collapsed': this.state.collapsed === true,
- // // _s.paddingHorizontal15PX, _s.marginBottom15PX
+ // // _s.px15, _s.mb15
// });
if (isRtl(status.get('search_index'))) {
@@ -209,8 +209,8 @@ class StatusContent extends ImmutablePureComponent {
const hasMarginBottom = !!status.get('card') || !!status.get('poll') || status.get('media_attachments').size > 0
const containerClasses = cx({
- paddingHorizontal15PX: !isComment,
- marginBottom15PX: hasMarginBottom,
+ px15: !isComment,
+ mb15: hasMarginBottom,
})
return (
@@ -228,7 +228,7 @@ class StatusContent extends ImmutablePureComponent {
{
this.state.collapsed &&