diff --git a/assets/css/common/main.css b/assets/css/common/main.css index c47e3008..50022ac1 100644 --- a/assets/css/common/main.css +++ b/assets/css/common/main.css @@ -59,6 +59,7 @@ pre { border-radius: var(--radius); padding: 0 5px; font-size: 14px; + user-select: none; } div.highlight:hover .copy-code, diff --git a/assets/css/common/post-single.css b/assets/css/common/post-single.css index bc7f25ed..79ccbec6 100644 --- a/assets/css/common/post-single.css +++ b/assets/css/common/post-single.css @@ -366,6 +366,7 @@ h6:hover .anchor { color: var(--secondary); margin-inline-start: 8px; font-weight: 500; + user-select: none; } .post-content :not(table) ::-webkit-scrollbar-thumb {