From f4b1f4944432fdaffc2db8bc427f8bc13cdf4f44 Mon Sep 17 00:00:00 2001 From: "Sun .P.M" <35005831+sunpm@users.noreply.github.com> Date: Mon, 28 Oct 2024 14:35:26 +0800 Subject: [PATCH] style(theme/vp-doc): let lang unselectable. --- src/client/theme-default/styles/components/vp-doc.css | 1 + 1 file changed, 1 insertion(+) diff --git a/src/client/theme-default/styles/components/vp-doc.css b/src/client/theme-default/styles/components/vp-doc.css index 379a94ce4366..a13ddc27679f 100644 --- a/src/client/theme-default/styles/components/vp-doc.css +++ b/src/client/theme-default/styles/components/vp-doc.css @@ -514,6 +514,7 @@ z-index: 2; font-size: 12px; font-weight: 500; + user-select: none; color: var(--vp-code-lang-color); transition: color 0.4s,