Skip to content

Commit a4567f1

Browse files
committed
Quartz sync: May 22, 2025, 4:47 PM
1 parent 6ccdd1b commit a4567f1

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

quartz/components/styles/markmap.scss

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@
3838
height: 100%;
3939
z-index: 0;
4040
color: var(--darkgray);
41+
cursor: grab;
42+
pointer-events: all;
43+
4144

4245
code {
4346
border-radius: 5px;
@@ -50,6 +53,23 @@
5053
}
5154
}
5255

56+
#global-markmap g.markmap-node {
57+
pointer-events: all;
58+
}
59+
60+
#global-markmap g.markmap-node text,
61+
#global-markmap g.markmap-node foreignObject,
62+
#global-markmap g.markmap-node foreignObject * {
63+
user-select: none !important;
64+
-webkit-user-select: none !important;
65+
pointer-events: none !important;
66+
}
67+
68+
#global-markmap g.markmap-node foreignObject a {
69+
pointer-events: auto !important;
70+
user-select: text !important;
71+
}
72+
5373
#global-markmap-toolbar {
5474
position: absolute;
5575
bottom: 0;

0 commit comments

Comments
 (0)