From: Dessalines Date: Fri, 20 Mar 2020 20:53:54 +0000 (-0400) Subject: Adding clearer goto context. X-Git-Url: http://these/git/?a=commitdiff_plain;h=f76c3af557c88b382fba14c8ab19f64664dcda38;p=lemmy.git Adding clearer goto context. - Adding context props. - Making link / context the first selectable on user and inbox page. - Making icons a little bigger. - #609 --- diff --git a/ui/src/components/comment-node.tsx b/ui/src/components/comment-node.tsx index d5d872f5..c1dceed2 100644 --- a/ui/src/components/comment-node.tsx +++ b/ui/src/components/comment-node.tsx @@ -66,6 +66,7 @@ interface CommentNodeProps { viewOnly?: boolean; locked?: boolean; markable?: boolean; + showContext?: boolean; moderators: Array; admins: Array; // TODO is this necessary, can't I get it from the node itself? @@ -249,10 +250,11 @@ export class CommentNode extends Component { /> )}
    + {this.props.showContext && this.linkBtn} {this.props.markable && (
  • - {this.props.markable && this.linkBtn} {!this.state.showAdvanced ? (
  • @@ -555,7 +555,7 @@ export class PostListing extends Component { <>