Skip to content

Commit 81fc148

Browse files
authored
style(theme): do not copy lang when copying text (#4316)
style(theme/vp-doc): let lang unselectable.
1 parent bd690d6 commit 81fc148

File tree

1 file changed

+1
-0
lines changed
  • src/client/theme-default/styles/components

1 file changed

+1
-0
lines changed

src/client/theme-default/styles/components/vp-doc.css

+1
Original file line numberDiff line numberDiff line change
@@ -514,6 +514,7 @@
514514
z-index: 2;
515515
font-size: 12px;
516516
font-weight: 500;
517+
user-select: none;
517518
color: var(--vp-code-lang-color);
518519
transition:
519520
color 0.4s,

0 commit comments

Comments
 (0)