From: Dessalines Date: Thu, 5 Mar 2020 05:02:08 +0000 (-0500) Subject: Changing user names to bold text-body. Removing color lines on first comment. X-Git-Url: http://these/git/?a=commitdiff_plain;h=2a775cf96089ca9b42f7884954d391b4851cf4be;p=lemmy.git Changing user names to bold text-body. Removing color lines on first comment. --- 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() && (