From 2a775cf96089ca9b42f7884954d391b4851cf4be Mon Sep 17 00:00:00 2001 From: Dessalines Date: Thu, 5 Mar 2020 00:02:08 -0500 Subject: [PATCH] Changing user names to bold text-body. Removing color lines on first comment. --- ui/src/components/comment-node.tsx | 9 +++++++-- ui/src/components/main.tsx | 9 ++++++--- ui/src/components/modlog.tsx | 2 +- ui/src/components/post-listing.tsx | 5 ++++- ui/src/components/sidebar.tsx | 5 ++++- 5 files changed, 22 insertions(+), 8 deletions(-) diff --git a/ui/src/components/comment-node.tsx b/ui/src/components/comment-node.tsx index 0e62e6eb..9b476c7e 100644 --- a/ui/src/components/comment-node.tsx +++ b/ui/src/components/comment-node.tsx @@ -129,14 +129,19 @@ export class CommentNode extends Component { }`} style={ !this.props.noIndent && + this.props.node.comment.parent_id && `border-left: 1px solid; border-color: ${this.state.borderColor} !important` } > -
+
  • {node.comment.creator_avatar && showAvatars() && ( diff --git a/ui/src/components/main.tsx b/ui/src/components/main.tsx index ee028151..b772bd87 100644 --- a/ui/src/components/main.tsx +++ b/ui/src/components/main.tsx @@ -184,7 +184,7 @@ export class Main extends Component {
    # - + # @@ -222,7 +222,7 @@ export class Main extends Component {
    # - + # @@ -317,7 +317,10 @@ export class Main extends Component {
  • {i18n.t('admins')}:
  • {this.state.siteRes.admins.map(admin => (
  • - + {admin.avatar && showAvatars() && ( {
    {this.state.communityName && ( /c/{this.state.communityName}{' '} diff --git a/ui/src/components/post-listing.tsx b/ui/src/components/post-listing.tsx index f8f19448..0441bab8 100644 --- a/ui/src/components/post-listing.tsx +++ b/ui/src/components/post-listing.tsx @@ -425,7 +425,10 @@ export class PostListing extends Component {
    • {i18n.t('by')} - + {post.creator_avatar && showAvatars() && ( {
    • {i18n.t('mods')}:
    • {this.props.moderators.map(mod => (
    • - + {mod.avatar && showAvatars() && (