Merge pull request #301439 from DanielSidhion/unselectable-prompt
doc: make prompts unselectable on the manuals
This commit is contained in:
@@ -430,3 +430,12 @@ div.appendix .informaltable th,
|
|||||||
div.appendix .informaltable td {
|
div.appendix .informaltable td {
|
||||||
padding: 0.5rem;
|
padding: 0.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
This relies on highlight.js applying certain classes on the prompts.
|
||||||
|
For more details, see https://highlightjs.readthedocs.io/en/latest/css-classes-reference.html#stylable-scopes
|
||||||
|
*/
|
||||||
|
.hljs-meta.prompt_ {
|
||||||
|
user-select: none;
|
||||||
|
-webkit-user-select: none;
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user