mirror of
https://github.com/readthedocs/sphinx_rtd_theme.git
synced 2025-02-25 18:55:21 -06:00
Merge pull request #845 from readthedocs/Blendify/fix-787
Don't allow select on code block shell prefixes
This commit is contained in:
commit
ab7d388448
@ -95,6 +95,11 @@
|
|||||||
font-size: 12px
|
font-size: 12px
|
||||||
line-height: 1.4
|
line-height: 1.4
|
||||||
|
|
||||||
|
// Do not allow selection of code block prompts
|
||||||
|
div.highlight .gp
|
||||||
|
user-select: none
|
||||||
|
pointer-events: none
|
||||||
|
|
||||||
.code-block-caption
|
.code-block-caption
|
||||||
font-style: italic
|
font-style: italic
|
||||||
font-size: 85%
|
font-size: 85%
|
||||||
|
Loading…
Reference in New Issue
Block a user