禁止复制文章功能,附带开关

This commit is contained in:
tangly1024.com
2023-08-02 16:37:40 +08:00
parent 86fd5adf59
commit 5942d28cca
16 changed files with 30 additions and 75 deletions

View File

@@ -10,12 +10,6 @@ const Style = () => {
.dark body{
background-color: black;
}
// 文本不可选取
.forbid-copy {
user-select: none;
-webkit-user-select: none;
-ms-user-select: none;
}
`}</style>
}