diff --git a/B05_Profile/B05_Profile_UI_Style_RouteEdit.css b/B05_Profile/B05_Profile_UI_Style_RouteEdit.css index b733e40af..6ca353168 100644 --- a/B05_Profile/B05_Profile_UI_Style_RouteEdit.css +++ b/B05_Profile/B05_Profile_UI_Style_RouteEdit.css @@ -200,6 +200,11 @@ pointer-events: auto; } +/* 접힌 손잡이 = 지도 오른쪽 끝에 딱 붙임(393-5 · 빈 틈 0) */ +.b05-routeedit__side-wrap:has(.ui-side-panels.is-collapsed) { + right: 0; +} + .b05-routeedit__side-wrap .ui-side-panels__panel { box-shadow: 0 12px 40px rgb(0 0 0 / 45%); } diff --git a/resources/tester/test_b05_routeedit_chrome_modal.py b/resources/tester/test_b05_routeedit_chrome_modal.py index 8fd6afcce..a3cbe238e 100644 --- a/resources/tester/test_b05_routeedit_chrome_modal.py +++ b/resources/tester/test_b05_routeedit_chrome_modal.py @@ -129,3 +129,13 @@ def test_페이지_수명_닫기_없음(): assert "container: overlay," in main apply = _read("B05_Profile_UI_RouteEdit_Apply.ts") assert "close" not in apply.split("export function bindRouteApply", 1)[1] + + +def test_393_5_접힌_손잡이는_지도_오른쪽_끝에_붙음(): + css = _read("B05_Profile_UI_Style_RouteEdit.css") + flush = _block(css, ".b05-routeedit__side-wrap:has(.ui-side-panels.is-collapsed)") + assert "right: 0;" in flush + # 펼친 판은 그대로 띄움 + assert "right: var(--spacing-12);" in _block(css, ".b05-routeedit__side-wrap") + side = (ROOT / "ui_template" / "ui_template_side_panels.ts").read_text(encoding="utf-8") + assert 'root.classList.toggle("is-collapsed", now === null);' in side