💄 Improve mouse selection code blocks Fix https://github.com/siyuan-note/siyuan/issues/14644 (#14646)

This commit is contained in:
Jeffrey Chen 2025-04-19 14:15:04 +08:00 committed by GitHub
parent 96d43f2af3
commit f60a8d641a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -536,8 +536,15 @@
transition: var(--b3-background-transition);
}
&--hiderange ::selection {
background-color: transparent;
&--hiderange {
::selection {
background-color: transparent;
}
.hljs ::selection {
background-color: transparent;
color: inherit;
}
}
// https://github.com/siyuan-note/siyuan/issues/11589