feat(功能强化): 支持页面文字选择复制,优化选区显示
build.yaml / build (push) Successful in 38s

This commit is contained in:
xiaoqidun committed 2026-09-12 23:18:49 +08:00
1 parent 2ea937b7be
commit 1c7f3c03e9
6 files changed
+189 -11

No files matched your search

+30
View File
@@ -785,6 +785,34 @@ button.outline-link:hover {
transform-origin: 0 0;
}
.text-layer {
position: absolute;
inset: 0;
overflow: hidden;
color: transparent;
opacity: 0.24;
pointer-events: none;
-webkit-user-select: text;
user-select: text;
text-size-adjust: none;
}
.text-run > span {
position: absolute;
left: 0;
top: 0;
font: 100px/1 sans-serif;
white-space: pre;
transform-origin: 0 0;
cursor: text;
pointer-events: auto;
}
.text-run > span::selection {
color: transparent;
background: var(--accent);
}
.page-link {
position: absolute;
}
@@ -833,6 +861,8 @@ button.outline-link:hover {
display: block;
max-width: none;
transform-origin: 0 0;
-webkit-user-select: none;
user-select: none;
}
.meta-list {