aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorElliott Tallis <tallis.elliott@gmail.com>2023-04-13 03:26:43 +0100
committerGitHub <noreply@github.com>2023-04-13 04:26:43 +0200
commited827c2d811982628daee6a3b418d69f165465c2 (patch)
tree858f690481ce1cb930a69568e012d35c738452a6 /src
parent71849cac9a6313432cd9976cb5de4ce060e74b0e (diff)
downloadVencord-ed827c2d811982628daee6a3b418d69f165465c2.tar.gz
Vencord-ed827c2d811982628daee6a3b418d69f165465c2.tar.bz2
Vencord-ed827c2d811982628daee6a3b418d69f165465c2.zip
Shiki: Make CodeBlock button texts not copyable (#864)
Diffstat (limited to 'src')
-rw-r--r--src/plugins/shikiCodeblocks/shiki.css1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/shikiCodeblocks/shiki.css b/src/plugins/shikiCodeblocks/shiki.css
index 2051183..32ef992 100644
--- a/src/plugins/shikiCodeblocks/shiki.css
+++ b/src/plugins/shikiCodeblocks/shiki.css
@@ -44,6 +44,7 @@
.shiki-btn {
border-radius: 4px 4px 0 0;
padding: 4px 8px;
+ user-select: none;
}
.shiki-btn ~ .shiki-btn {