feat(前端界面): 优化注解交互,减少阅读遮挡
build.yaml / build (push) Successful in 51s

This commit is contained in:
xiaoqidun committed 2026-10-14 19:27:35 +08:00
1 parent ef901bea0f
commit 07e1ec18e1
2 files changed
+45 -4

No files matched your search

+9
View File
@@ -3130,6 +3130,8 @@ audio.page-media {
.annotation-note {
position: absolute;
z-index: 2;
opacity: 0;
pointer-events: none;
width: 22px;
height: 22px;
padding: 0;
@@ -3143,6 +3145,13 @@ audio.page-media {
transform: rotate(var(--note-rotation, 0deg)) scale(var(--note-scale, 1)) translateX(-100%);
}
.annotation-note.active,
.annotation-note.located,
.annotation-note:focus {
opacity: 1;
pointer-events: auto;
}
.annotation-note.no-zoom {
--note-scale: calc(1 / var(--surface-scale, 1));
}