Prevent code-copy btn and anchored headings from getting selected

This commit is contained in:
Aditya Telange 2021-11-20 18:32:25 +05:30
parent 0c743b767b
commit 386d845782
No known key found for this signature in database
GPG Key ID: 82E844EF3DA99E77
2 changed files with 2 additions and 0 deletions

View File

@ -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,

View File

@ -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 {