feat: 为输入框添加拖动对齐辅助线,优化排版定位体验

This commit is contained in:
Zhukj
2026-04-17 09:12:22 +08:00
parent 52cc784478
commit dfd0528151
4 changed files with 306 additions and 3 deletions

View File

@@ -355,3 +355,31 @@ html, body {
.context-menu-item:active {
background: #e8e8e8;
}
/* 拖拽辅助线 */
.guide-line {
position: absolute;
pointer-events: none;
z-index: 1000;
display: none;
}
.guide-horizontal {
left: 0;
right: 0;
height: 1px;
background: #4a90e2;
box-shadow: 0 0 4px rgba(74, 144, 226, 0.5);
}
.guide-vertical {
top: 0;
bottom: 0;
width: 1px;
background: #4a90e2;
box-shadow: 0 0 4px rgba(74, 144, 226, 0.5);
}
.guide-line.visible {
display: block;
}