]> Untitled Git - lemmy-ui.git/commitdiff
fix: Fix too-intense hr color between posts
authorJay Sitter <jay@jaysitter.com>
Sun, 18 Jun 2023 19:38:16 +0000 (15:38 -0400)
committerJay Sitter <jay@jaysitter.com>
Sun, 18 Jun 2023 19:38:16 +0000 (15:38 -0400)
src/assets/css/themes/_variables.darkly.scss
src/assets/css/themes/_variables.litely.scss
src/shared/components/post/post-listings.tsx

index 56ccc3cf7e2cb8cb9bfc4335d57b61a48e6a557c..fa6e305d5a88933c081f51c543c8caa6bb558e13 100644 (file)
@@ -92,6 +92,8 @@ $input-border-color: $body-bg;
 $input-group-addon-color: $gray-500;
 $input-group-addon-bg: $gray-700;
 
+$hr-border-color: rgba($body-color, 0.25);
+
 $table-accent-bg: $gray-800;
 $table-border-color: $gray-700;
 
index 2fc0fe3dd7cbcd3355567a1bef6e2d3e2aeb6500..1708d4c395b611a35e1a130883137a4d41c0ee6b 100644 (file)
@@ -76,3 +76,5 @@ $border-radius: 0.5rem;
 $border-radius-lg: 0.5rem;
 $border-radius-sm: 1rem;
 $rounded-pill: 0.25rem;
+
+$hr-border-color: rgba($body-color, 0.25);
index 00370f039bfea8b104d206e1fcf497e27e400501..e6c7e5f68957cb37ca5a5bafb1e6fb8927c7c584 100644 (file)
@@ -96,9 +96,7 @@ export class PostListings extends Component<PostListingsProps, any> {
                 onAddAdmin={this.props.onAddAdmin}
                 onTransferCommunity={this.props.onTransferCommunity}
               />
-              {idx + 1 !== this.posts.length && (
-                <hr className="my-3 border border-primary" />
-              )}
+              {idx + 1 !== this.posts.length && <hr className="my-3" />}
             </>
           ))
         ) : (