mirror of
https://github.com/readthedocs/sphinx_rtd_theme.git
synced 2025-02-25 18:55:21 -06:00
Do not allow selection of line numbers in code blocks (#594)
This commit is contained in:
parent
7dbbcdc221
commit
c94af91965
@ -70,6 +70,8 @@
|
|||||||
margin: 0
|
margin: 0
|
||||||
padding: $base-line-height / 2 $base-line-height / 2
|
padding: $base-line-height / 2 $base-line-height / 2
|
||||||
font-family: $code-font-family
|
font-family: $code-font-family
|
||||||
|
user-select: none
|
||||||
|
pointer-events: none
|
||||||
div[class^='highlight'] pre
|
div[class^='highlight'] pre
|
||||||
white-space: pre
|
white-space: pre
|
||||||
margin: 0
|
margin: 0
|
||||||
|
Loading…
Reference in New Issue
Block a user