fix(console): 聊天分隔线修复——加载后按规格钳制存档chatW(脏值1067→600,setChatW同兜底max);分隔线向内容侧偏移3px,避开与宿主聊天区2px重叠(不加宽)
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
$ErrorActionPreference = 'Stop'
|
||||
opencli --profile 74u3g3us browser wt eval "(() => { const root = document.querySelector('[data-phase]'); if (!root) return 'no-root'; const out = []; let el = root; let d = 0; while (el && d < 8) { const cs = getComputedStyle(el); out.push({ tag: el.tagName, z: cs.zIndex, pos: cs.position, cls: String(el.className).slice(0, 40) }); el = el.parentElement; d++; } return JSON.stringify(out); })()"
|
||||
Start-Sleep -Milliseconds 300
|
||||
opencli --profile 74u3g3us browser wt eval "(() => { const divs = Array.from(document.querySelectorAll('.dsh-wt_splitDivider')); return JSON.stringify({ count: divs.length, one: divs[0] ? { z: getComputedStyle(divs[0]).zIndex, pos: getComputedStyle(divs[0]).position, rect: (() => { const r = divs[0].getBoundingClientRect(); return [Math.round(r.left), Math.round(r.top), Math.round(r.width), Math.round(r.height)].join(','); })() } : null }); })()"
|
||||
Reference in New Issue
Block a user