Skip to content

Commit c94af91

Browse files
jessetanBlendify
authored andcommitted
Do not allow selection of line numbers in code blocks (#594)
1 parent 7dbbcdc commit c94af91

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

sass/_theme_rst.sass

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,8 @@
7070
margin: 0
7171
padding: $base-line-height / 2 $base-line-height / 2
7272
font-family: $code-font-family
73+
user-select: none
74+
pointer-events: none
7375
div[class^='highlight'] pre
7476
white-space: pre
7577
margin: 0

0 commit comments

Comments
 (0)