Make Chroma line numbers unselectable (#57)
* Make Chroma line numbers unselectable * Add browser compatibility prefix
This commit is contained in:
parent
73fb08026e
commit
5c8353a16a
1 changed files with 4 additions and 1 deletions
|
@ -37,6 +37,9 @@
|
||||||
padding-left: .9em;
|
padding-left: .9em;
|
||||||
padding-right: 1em;
|
padding-right: 1em;
|
||||||
text-align: right;
|
text-align: right;
|
||||||
|
user-select: none;
|
||||||
|
-moz-user-select: none;
|
||||||
|
-webkit-user-select: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.chroma .hl .lnt {
|
.chroma .hl .lnt {
|
||||||
|
@ -141,4 +144,4 @@
|
||||||
.chroma .hl {
|
.chroma .hl {
|
||||||
display: block;
|
display: block;
|
||||||
background-color: var(--code-highlighted-line);
|
background-color: var(--code-highlighted-line);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue