fix(suggestion): place overlay in DIPs, size it to content, and harden suggestion sessions

This commit is contained in:
Yun Chan 2026-09-28 02:16:15 +09:00
parent 75e053d72f
commit 9e5b94ced2
18 changed files with 2178 additions and 558 deletions

View file

@ -4,7 +4,10 @@
* 토큰이 주입되지 않는 상황(개발 초기 로드)을 위해 :root 폴백을 둔다.
*
* 구조: [후보 3개 — 고정 높이] / 가는 선 / [진행률 · 출처] / [키 안내]
* 창 높이(WindowManager SUGGESTION_OVERLAY_HEIGHT)는 이 고정 치수에서 나온다.
* 창 높이는 이 고정 치수에서 계산한다(main/windows/suggestion-overlay-geometry.ts) — 창을
* 그려진 패널 높이로 맞춰 투명 여백이 클릭을 삼키지 않게 한다. 높이에 영향을 주는 치수
* (#root/패널 패딩·테두리, .status, .suggestion-item, .candidates gap, .footer)를 바꾸면
* 그 파일도 함께 고친다. 각 줄은 내용과 무관하게 높이를 고정한다.
*/
:root {
@ -93,7 +96,7 @@ body {
display: flex;
align-items: center;
gap: 8px;
min-height: 32px;
height: 32px;
padding: 0 28px 0 8px;
}
@ -219,6 +222,7 @@ body {
.footer-row {
display: flex;
height: 14px;
align-items: center;
justify-content: space-between;
gap: 12px;
@ -252,6 +256,7 @@ body {
.key-hints {
display: flex;
height: 16px;
align-items: center;
gap: 10px;
white-space: nowrap;