Skip to content

Commit b82e4c1

Browse files
committed
feat: make toc-bar text unselectable
感谢 [MarkDown down down down](https://greasyfork.org/zh-CN/users/412790-markdown-down-down-down)
1 parent 498f241 commit b82e4c1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

toc-bar.user.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,11 @@
227227
transition: width 0.2s ease;
228228
color: #333;
229229
background: #FEFEFE;
230+
231+
user-select:none;
232+
-moz-user-select:none;
233+
-webkit-user-select: none;
234+
-ms-user-select: none;
230235
}
231236
232237
.toc-bar.toc-bar--collapsed {

0 commit comments

Comments
 (0)