Merge pull request #1376 from jsit/fix/fix-intense-hr-color

fix: Fix too-intense hr color between posts
This commit is contained in:
SleeplessOne1917 2023-06-19 03:22:56 +00:00 committed by GitHub
commit 5f8a181c7b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 9 additions and 7 deletions

View file

@ -92,6 +92,8 @@ $input-border-color: $body-bg;
$input-group-addon-color: $gray-500; $input-group-addon-color: $gray-500;
$input-group-addon-bg: $gray-700; $input-group-addon-bg: $gray-700;
$hr-border-color: rgba($body-color, 0.25);
$table-accent-bg: $gray-800; $table-accent-bg: $gray-800;
$table-border-color: $gray-700; $table-border-color: $gray-700;

View file

@ -76,3 +76,5 @@ $border-radius: 0.5rem;
$border-radius-lg: 0.5rem; $border-radius-lg: 0.5rem;
$border-radius-sm: 1rem; $border-radius-sm: 1rem;
$rounded-pill: 0.25rem; $rounded-pill: 0.25rem;
$hr-border-color: rgba($body-color, 0.25);

View file

@ -450,7 +450,7 @@ hr {
margin-top: 1rem; margin-top: 1rem;
margin-bottom: 1rem; margin-bottom: 1rem;
border: 0; border: 0;
border-top: 1px solid rgba(0, 0, 0, 0.1); border-top: 1px solid rgba(222, 226, 230, 0.25);
} }
small, small,

View file

@ -450,7 +450,7 @@ hr {
margin-top: 1rem; margin-top: 1rem;
margin-bottom: 1rem; margin-bottom: 1rem;
border: 0; border: 0;
border-top: 1px solid rgba(0, 0, 0, 0.1); border-top: 1px solid rgba(222, 226, 230, 0.25);
} }
small, small,

View file

@ -450,7 +450,7 @@ hr {
margin-top: 1rem; margin-top: 1rem;
margin-bottom: 1rem; margin-bottom: 1rem;
border: 0; border: 0;
border-top: 1px solid rgba(0, 0, 0, 0.1); border-top: 1px solid rgba(222, 226, 230, 0.25);
} }
small, small,

View file

@ -449,7 +449,7 @@ hr {
margin-top: 1rem; margin-top: 1rem;
margin-bottom: 1rem; margin-bottom: 1rem;
border: 0; border: 0;
border-top: 1px solid rgba(34, 34, 34, 0.1); border-top: 1px solid rgba(73, 80, 87, 0.25);
} }
small, small,

View file

@ -96,9 +96,7 @@ export class PostListings extends Component<PostListingsProps, any> {
onAddAdmin={this.props.onAddAdmin} onAddAdmin={this.props.onAddAdmin}
onTransferCommunity={this.props.onTransferCommunity} onTransferCommunity={this.props.onTransferCommunity}
/> />
{idx + 1 !== this.posts.length && ( {idx + 1 !== this.posts.length && <hr className="my-3" />}
<hr className="my-3 border border-primary" />
)}
</> </>
)) ))
) : ( ) : (