Prevent `code-copy` btn and `anchored` headings from getting selected
This commit is contained in:
parent
0c743b767b
commit
386d845782
|
@ -59,6 +59,7 @@ pre {
|
||||||
border-radius: var(--radius);
|
border-radius: var(--radius);
|
||||||
padding: 0 5px;
|
padding: 0 5px;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
|
user-select: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
div.highlight:hover .copy-code,
|
div.highlight:hover .copy-code,
|
||||||
|
|
|
@ -366,6 +366,7 @@ h6:hover .anchor {
|
||||||
color: var(--secondary);
|
color: var(--secondary);
|
||||||
margin-inline-start: 8px;
|
margin-inline-start: 8px;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
|
user-select: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.post-content :not(table) ::-webkit-scrollbar-thumb {
|
.post-content :not(table) ::-webkit-scrollbar-thumb {
|
||||||
|
|
Loading…
Reference in New Issue