From f7443643a4510a6c650f1a1bda977c1d55fddf64 Mon Sep 17 00:00:00 2001
From: Liberty
Date: Mon, 24 Apr 2023 22:54:13 +0800
Subject: [PATCH] feat: allow using html in member description (#2269)
---
.../theme-default/components/VPTeamMembersItem.vue | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/src/client/theme-default/components/VPTeamMembersItem.vue b/src/client/theme-default/components/VPTeamMembersItem.vue
index 193312a7..01842558 100644
--- a/src/client/theme-default/components/VPTeamMembersItem.vue
+++ b/src/client/theme-default/components/VPTeamMembersItem.vue
@@ -31,9 +31,7 @@ defineProps<{
{{ member.org }}
-
- {{ member.desc }}
-
+
@@ -180,6 +178,13 @@ defineProps<{
margin: 0 auto;
}
+.desc :deep(a) {
+ font-weight: 500;
+ color: var(--vp-c-brand);
+ text-decoration-style: dotted;
+ transition: color 0.25s;
+}
+
.links {
display: flex;
justify-content: center;