From 17ad4f1491cb307949c96736f7c02f7e242546b4 Mon Sep 17 00:00:00 2001
From: Josh Wong <23216828+josh-wong@users.noreply.github.com>
Date: Fri, 11 Oct 2024 11:24:14 +0900
Subject: [PATCH 1/2] Disable links in tags
---
src/theme/TagsListInline/index.tsx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/theme/TagsListInline/index.tsx b/src/theme/TagsListInline/index.tsx
index 95216098..06d5c50c 100644
--- a/src/theme/TagsListInline/index.tsx
+++ b/src/theme/TagsListInline/index.tsx
@@ -18,8 +18,8 @@ export default function TagsListInline({tags}: Props): JSX.Element {
*/}
{tags.map(({label, permalink: tagPermalink}) => (
- -
-
+
-
+
))}
From 241944e881de84858678fa3d5c6c68ab53471e7c Mon Sep 17 00:00:00 2001
From: Josh Wong <23216828+josh-wong@users.noreply.github.com>
Date: Fri, 11 Oct 2024 11:24:34 +0900
Subject: [PATCH 2/2] Remove green outline when hovering over tags
---
src/css/custom.css | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/css/custom.css b/src/css/custom.css
index d613a132..f7748ee3 100644
--- a/src/css/custom.css
+++ b/src/css/custom.css
@@ -133,9 +133,9 @@ a[class^='tag_'] {
color: white;
font-weight: bold;
- &:hover {
+ /* &:hover {
border: 2px solid #78C740;
- }
+ } */
}
html[data-theme="dark"] .badge {
@@ -150,9 +150,9 @@ html[data-theme="dark"] a[class^='tag_'] {
color: white;
font-weight: bold;
- &:hover {
+ /* &:hover {
border: 2px solid #78C740;
- }
+ } */
}
/* The following Font Awesome-related styles are for the question mark next to the Editions tags. These styles are currently not being used but might be useful later. */