mirror of
https://github.com/marktext/marktext.git
synced 2025-05-02 19:41:39 +08:00
Forbid math overlay selection (#1768)
This commit is contained in:
parent
f0e548d7e0
commit
eb5f265f1b
@ -35,7 +35,7 @@ mark {
|
|||||||
line-height: 1.2;
|
line-height: 1.2;
|
||||||
}
|
}
|
||||||
|
|
||||||
mark::before,
|
mark::before,
|
||||||
mark::after {
|
mark::after {
|
||||||
clip-path: inset(100%);
|
clip-path: inset(100%);
|
||||||
clip: rect(1px, 1px, 1px, 1px);
|
clip: rect(1px, 1px, 1px, 1px);
|
||||||
@ -267,6 +267,7 @@ span.ag-math {
|
|||||||
position: absolute;
|
position: absolute;
|
||||||
top: 100%;
|
top: 100%;
|
||||||
left: 0;
|
left: 0;
|
||||||
|
user-select: none;
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user