From: Jay Sitter Date: Sun, 25 Jun 2023 21:18:25 +0000 (-0400) Subject: feat(UI): Fix some link hover colors X-Git-Url: http://these/git/%7B%60%24%7BghostArchiveUrl%7D/static/README.ja.md?a=commitdiff_plain;h=937dd5f86a897a7f09bf81f04adc5f10a804c1ae;p=lemmy-ui.git feat(UI): Fix some link hover colors --- diff --git a/src/assets/css/main.css b/src/assets/css/main.css index cb4a8b8..b917b3e 100644 --- a/src/assets/css/main.css +++ b/src/assets/css/main.css @@ -84,7 +84,7 @@ margin-top: -6.5px; } -.post-title a:visited { +.post-title a:visited:not(:hover) { color: var(--bs-gray) !important; } diff --git a/src/shared/components/post/post-listing.tsx b/src/shared/components/post/post-listing.tsx index 76a3e44..ac90b0d 100644 --- a/src/shared/components/post/post-listing.tsx +++ b/src/shared/components/post/post-listing.tsx @@ -397,7 +397,7 @@ export class PostListing extends Component { const post_view = this.postView; return ( - + {this.creatorIsMod_ && ( {I18NextService.i18n.t("mod")} @@ -444,8 +444,8 @@ export class PostListing extends Component { { { const url = post.url; return ( -

+

{url && !(hostname(url) === getExternalHost()) && (