From: Jay Sitter Date: Sun, 18 Jun 2023 19:38:16 +0000 (-0400) Subject: fix: Fix too-intense hr color between posts X-Git-Url: http://these/git/%7B%60/feeds/%7B%60%24%7BarchiveUrl%7D/?a=commitdiff_plain;h=473406d1daf97fcd3665f9b2bc9bbd402348308e;p=lemmy-ui.git fix: Fix too-intense hr color between posts --- diff --git a/src/assets/css/themes/_variables.darkly.scss b/src/assets/css/themes/_variables.darkly.scss index 56ccc3c..fa6e305 100644 --- a/src/assets/css/themes/_variables.darkly.scss +++ b/src/assets/css/themes/_variables.darkly.scss @@ -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; diff --git a/src/assets/css/themes/_variables.litely.scss b/src/assets/css/themes/_variables.litely.scss index 2fc0fe3..1708d4c 100644 --- a/src/assets/css/themes/_variables.litely.scss +++ b/src/assets/css/themes/_variables.litely.scss @@ -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); diff --git a/src/shared/components/post/post-listings.tsx b/src/shared/components/post/post-listings.tsx index 00370f0..e6c7e5f 100644 --- a/src/shared/components/post/post-listings.tsx +++ b/src/shared/components/post/post-listings.tsx @@ -96,9 +96,7 @@ export class PostListings extends Component { onAddAdmin={this.props.onAddAdmin} onTransferCommunity={this.props.onTransferCommunity} /> - {idx + 1 !== this.posts.length && ( -
- )} + {idx + 1 !== this.posts.length &&
} )) ) : (