]> Untitled Git - lemmy.git/commitdiff
Changing user names to bold text-body. Removing color lines on first comment.
authorDessalines <tyhou13@gmx.com>
Thu, 5 Mar 2020 05:02:08 +0000 (00:02 -0500)
committerDessalines <tyhou13@gmx.com>
Thu, 5 Mar 2020 05:02:08 +0000 (00:02 -0500)
ui/src/components/comment-node.tsx
ui/src/components/main.tsx
ui/src/components/modlog.tsx
ui/src/components/post-listing.tsx
ui/src/components/sidebar.tsx

index 0e62e6eb5583bf5c872bf3a8a48db8314483ae8f..9b476c7eb536a1ee17af7394c40207b184126592 100644 (file)
@@ -129,14 +129,19 @@ export class CommentNode extends Component<CommentNodeProps, CommentNodeState> {
           }`}
           style={
             !this.props.noIndent &&
+            this.props.node.comment.parent_id &&
             `border-left: 1px solid; border-color: ${this.state.borderColor} !important`
           }
         >
-          <div class={`${!this.props.noIndent && 'ml-2'}`}>
+          <div
+            class={`${!this.props.noIndent &&
+              this.props.node.comment.parent_id &&
+              'ml-2'}`}
+          >
             <ul class="list-inline mb-1 text-muted small">
               <li className="list-inline-item">
                 <Link
-                  className="text-info"
+                  className="text-body font-weight-bold"
                   to={`/u/${node.comment.creator_name}`}
                 >
                   {node.comment.creator_avatar && showAvatars() && (
index ee028151fa7a66c0bf342e112eaf3badbf31cd1a..b772bd872946faa559da2b9f03a33249c4549ed5 100644 (file)
@@ -184,7 +184,7 @@ export class Main extends Component<any, MainState> {
                       <h5>
                         <T i18nKey="subscribed_to_communities">
                           #
-                          <Link class="text-white" to="/communities">
+                          <Link class="text-body" to="/communities">
                             #
                           </Link>
                         </T>
@@ -222,7 +222,7 @@ export class Main extends Component<any, MainState> {
         <h5>
           <T i18nKey="trending_communities">
             #
-            <Link class="text-white" to="/communities">
+            <Link class="text-body" to="/communities">
               #
             </Link>
           </T>
@@ -317,7 +317,10 @@ export class Main extends Component<any, MainState> {
               <li class="list-inline-item">{i18n.t('admins')}:</li>
               {this.state.siteRes.admins.map(admin => (
                 <li class="list-inline-item">
-                  <Link class="text-info" to={`/u/${admin.name}`}>
+                  <Link
+                    class="text-body font-weight-bold"
+                    to={`/u/${admin.name}`}
+                  >
                     {admin.avatar && showAvatars() && (
                       <img
                         height="32"
index f57e1c6acbaf880b84aaeee3625f636a3faf5585..04628ebd16a8c730bb374360ffc2006b5b595560 100644 (file)
@@ -354,7 +354,7 @@ export class Modlog extends Component<any, ModlogState> {
             <h5>
               {this.state.communityName && (
                 <Link
-                  className="text-white"
+                  className="text-body"
                   to={`/c/${this.state.communityName}`}
                 >
                   /c/{this.state.communityName}{' '}
index f8f194486f3bbaa51066c0a05522aa2b4655686e..0441bab840f3513664c4932c57cdaf4c67752f1f 100644 (file)
@@ -425,7 +425,10 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
               <ul class="list-inline mb-0 text-muted small">
                 <li className="list-inline-item">
                   <span>{i18n.t('by')} </span>
-                  <Link className="text-info" to={`/u/${post.creator_name}`}>
+                  <Link
+                    className="text-body font-weight-bold"
+                    to={`/u/${post.creator_name}`}
+                  >
                     {post.creator_avatar && showAvatars() && (
                       <img
                         height="32"
index 042b67dbbe33e5028008f890057ae80828530f5f..0f4a0e10d8f262cdbd900b43a96b9a4a27bdaa02 100644 (file)
@@ -204,7 +204,10 @@ export class Sidebar extends Component<SidebarProps, SidebarState> {
               <li class="list-inline-item">{i18n.t('mods')}: </li>
               {this.props.moderators.map(mod => (
                 <li class="list-inline-item">
-                  <Link class="text-info" to={`/u/${mod.user_name}`}>
+                  <Link
+                    class="text-body font-weight-bold"
+                    to={`/u/${mod.user_name}`}
+                  >
                     {mod.avatar && showAvatars() && (
                       <img
                         height="32"