Skip to content

Commit 0b6aa26

Browse files
committed
chore(docs): enable text selection in code blocks
1 parent 6663c50 commit 0b6aa26

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docs/app/global.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,3 +94,9 @@ strong {
9494
article .prose {
9595
padding-bottom: 3rem;
9696
}
97+
98+
/* Enable text selection in code blocks */
99+
pre, code, pre code {
100+
user-select: text !important;
101+
-webkit-user-select: text !important;
102+
}

0 commit comments

Comments
 (0)