src/pydata_sphinx_theme/assets/styles/content/_hacks.scss
raw| 1 | /** |
| 2 | * Hacky fixes that don't fit cleanly into other sections |
| 3 | */ |
| 4 | |
| 5 | // Ensure user highlighting/selecting behaves properly |
| 6 | // From https://stackoverflow.com/a/34372191 |
| 7 | table.highlighttable td.linenos, |
| 8 | span.linenos, |
| 9 | div.doctest > div.highlight span.gp { |
| 10 | /* gp: Generic.Prompt */ |
| 11 | user-select: none; |
| 12 | } |