style(ui): 调整位置信息提示框样式

This commit is contained in:
2026-05-15 14:40:11 +08:00
parent c6f7787c35
commit 708a3d5be8

View File

@@ -1529,7 +1529,7 @@
if (!positionInfoEl) { if (!positionInfoEl) {
positionInfoEl = document.createElement('div'); positionInfoEl = document.createElement('div');
positionInfoEl.className = 'input-position-info'; positionInfoEl.className = 'input-position-info';
positionInfoEl.style.cssText = 'display:none;position:fixed;padding:3px 8px;background:rgba(0,0,0,0.75);color:#fff;font-size:12px;border-radius:4px;pointer-events:none;z-index:10000;white-space:nowrap;font-family:monospace;'; positionInfoEl.style.cssText = 'display:none;position:fixed;padding:2px 6px;background:rgba(0,0,0,0.45);color:#fff;font-size:11px;border-radius:3px;pointer-events:none;z-index:10000;white-space:nowrap;font-family:monospace;';
document.body.appendChild(positionInfoEl); document.body.appendChild(positionInfoEl);
} }
return positionInfoEl; return positionInfoEl;