From 42904dc82f9990a75b0d0e123af9067de0ab02a7 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Tue, 5 Oct 2021 22:01:16 -0500 Subject: [PATCH] Notifications: clean up styles --- app/soapbox/components/column.js | 10 +++- .../notifications/components/notification.js | 54 ++++++++++--------- app/soapbox/features/notifications/index.js | 2 +- app/styles/components/emoji-reacts.scss | 11 ++-- app/styles/components/notification.scss | 40 ++++++++++++-- app/styles/ui.scss | 1 + 6 files changed, 80 insertions(+), 38 deletions(-) diff --git a/app/soapbox/components/column.js b/app/soapbox/components/column.js index f7466c15e..02cc08743 100644 --- a/app/soapbox/components/column.js +++ b/app/soapbox/components/column.js @@ -1,18 +1,24 @@ import React from 'react'; import PropTypes from 'prop-types'; +import classNames from 'classnames'; export default class Column extends React.PureComponent { static propTypes = { + className: PropTypes.string, children: PropTypes.node, label: PropTypes.string, }; render() { - const { label, children } = this.props; + const { className, label, children } = this.props; return ( -
+
{children}
); diff --git a/app/soapbox/features/notifications/components/notification.js b/app/soapbox/features/notifications/components/notification.js index fd9ab525b..fe25af054 100644 --- a/app/soapbox/features/notifications/components/notification.js +++ b/app/soapbox/features/notifications/components/notification.js @@ -112,8 +112,8 @@ class Notification extends ImmutablePureComponent {
-
- +
+
@@ -134,8 +134,8 @@ class Notification extends ImmutablePureComponent {
-
- +
+
@@ -151,18 +151,20 @@ class Notification extends ImmutablePureComponent { renderMention(notification) { return ( -