From 937dd5f86a897a7f09bf81f04adc5f10a804c1ae Mon Sep 17 00:00:00 2001 From: Jay Sitter Date: Sun, 25 Jun 2023 17:18:25 -0400 Subject: [PATCH] feat(UI): Fix some link hover colors --- src/assets/css/main.css | 2 +- src/shared/components/post/post-listing.tsx | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/assets/css/main.css b/src/assets/css/main.css index cb4a8b81..b917b3ec 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 76a3e445..ac90b0d8 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()) && (