Merge pull request #845 from readthedocs/Blendify/fix-787

Don't allow select on code block shell prefixes
This commit is contained in:
Anthony 2019-11-11 11:58:50 -07:00 committed by GitHub
commit ab7d388448
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -95,6 +95,11 @@
font-size: 12px
line-height: 1.4
// Do not allow selection of code block prompts
div.highlight .gp
user-select: none
pointer-events: none
.code-block-caption
font-style: italic
font-size: 85%