fix: .bullet-container should not be event target

This commit is contained in:
Peng Xiao
2021-04-09 22:11:24 +08:00
committed by Tienson Qin
parent ef5e14ddac
commit 012258f37c

View File

@@ -311,17 +311,20 @@
transition: transform .2s;
}
&:hover {
.bullet {
transform: scale(1.2);
}
}
&.bullet-closed {
background-color: var(--ls-block-bullet-border-color, #ced9e0);
}
}
a > .bullet-container {
/* fix the bullet element sometimes becomes a click event */
pointer-events: none;
}
a:hover > .bullet-container .bullet {
transform: scale(1.2);
}
.doc-mode {
margin-left: -16px;