Skip to content
Permalink
Browse files

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

Don't allow select on code block shell prefixes
  • Loading branch information...
agjohnson committed Nov 11, 2019
2 parents 2b8717a + 31892ff commit ab7d388448258a24f8f4fa96dccb69d24f571736
Showing with 5 additions and 0 deletions.
  1. +5 −0 src/sass/_theme_rst.sass
@@ -94,6 +94,11 @@
font-family: $code-font-family
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

0 comments on commit ab7d388

Please sign in to comment.
You can’t perform that action at this time.