diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2020-10-25 18:19:27 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-25 18:19:27 +0900 |
commit | bb6ee31232e06f366f1b06f74e67b9a40635ad21 (patch) | |
tree | d0ecb6d31de800e7cddd131b5e01dca50f291a9f | |
parent | e78df3a5fca0623af749a815be2a30725a3a1996 (diff) | |
parent | 38a6838119744e3ce147d244c46ccd7eadec4403 (diff) | |
download | sphinx-git-bb6ee31232e06f366f1b06f74e67b9a40635ad21.tar.gz |
Merge pull request #8320 from mgeier/linenos-user-select
basic CSS: disable "user-select" on span.linenos
-rw-r--r-- | CHANGES | 1 | ||||
-rw-r--r-- | sphinx/themes/basic/static/basic.css_t | 1 |
2 files changed, 2 insertions, 0 deletions
@@ -60,6 +60,7 @@ Bugs fixed * #8268: linkcheck: Report HTTP errors when ``linkcheck_anchors`` is ``True`` * #8245: linkcheck: take source directory into account for local files * #6914: figure numbers are unexpectedly assigned to uncaptioned items +* #8320: make "inline" line numbers un-selectable Testing -------- diff --git a/sphinx/themes/basic/static/basic.css_t b/sphinx/themes/basic/static/basic.css_t index 0a71a7a91..38b9fb553 100644 --- a/sphinx/themes/basic/static/basic.css_t +++ b/sphinx/themes/basic/static/basic.css_t @@ -764,6 +764,7 @@ div.code-block-caption code { } table.highlighttable td.linenos, +span.linenos, div.doctest > div.highlight span.gp { /* gp: Generic.Prompt */ user-select: none; } |