mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-11-26 14:21:13 +00:00
Merge remote-tracking branch 'lemmy/main' into feat/hide-avatars-on-listings
* lemmy/main: feat(UI): Fix some link hover colors
This commit is contained in:
commit
a9feae7da0
2 changed files with 7 additions and 7 deletions
|
@ -84,7 +84,7 @@
|
|||
margin-top: -6.5px;
|
||||
}
|
||||
|
||||
.post-title a:visited {
|
||||
.post-title a:visited:not(:hover) {
|
||||
color: var(--bs-gray) !important;
|
||||
}
|
||||
|
||||
|
|
|
@ -451,8 +451,8 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
|
|||
<Link
|
||||
className={`d-inline ${
|
||||
!post.featured_community && !post.featured_local
|
||||
? "text-body"
|
||||
: "text-primary"
|
||||
? "link-dark"
|
||||
: "link-primary"
|
||||
}`}
|
||||
to={`/post/${post.id}`}
|
||||
title={I18NextService.i18n.t("comments")}
|
||||
|
@ -477,8 +477,8 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
|
|||
<a
|
||||
className={
|
||||
!post.featured_community && !post.featured_local
|
||||
? "text-body"
|
||||
: "text-primary"
|
||||
? "link-dark"
|
||||
: "link-primary"
|
||||
}
|
||||
href={url}
|
||||
title={url}
|
||||
|
@ -561,10 +561,10 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
|
|||
const url = post.url;
|
||||
|
||||
return (
|
||||
<p className="d-flex text-muted align-items-center gap-1 small m-0">
|
||||
<p className="small m-0">
|
||||
{url && !(hostname(url) === getExternalHost()) && (
|
||||
<a
|
||||
className="text-muted fst-italic"
|
||||
className="fst-italic link-dark link-opacity-75 link-opacity-100-hover"
|
||||
href={url}
|
||||
title={url}
|
||||
rel={relTags}
|
||||
|
|
Loading…
Reference in a new issue