feat(cursor): allow cursor change to another style based on context

This commit is contained in:
Peng Xiao
2021-07-03 11:04:11 +08:00
committed by Tienson Qin
parent 6b978c7322
commit 2402d9946c
7 changed files with 37 additions and 8 deletions

View File

@@ -171,6 +171,14 @@
}
}
/* Change to another cursor style if Shift key is active */
[data-active-keystroke*="Shift" i]
:is(.journal-title, .page-title,
.block-ref, .page-ref, a.tag,
.bullet-container.cursor) {
cursor: context-menu;
}
.embed-page {
@apply py-2 my-2 px-2;