fix(game-ui): 턴 이동 버튼 너비를 채움

This commit is contained in:
2026-08-29 04:23:52 +00:00
parent 342994f77b
commit 95d5246d4b
2 changed files with 8 additions and 0 deletions
@@ -4180,6 +4180,8 @@ test('all main Lumen button families share the rounded pressed geometry', async
return {
top: rect.top,
bottom: rect.bottom,
width: rect.width,
parentWidth: element.parentElement?.getBoundingClientRect().width ?? 0,
height: rect.height,
marginTop: style.marginTop,
borderTop: style.borderTopWidth,
@@ -4212,6 +4214,9 @@ test('all main Lumen button families share the rounded pressed geometry', async
radius: expectedGeometry?.radius ?? '5.25px',
filter: 'none',
});
if (label === '당기기' || label === '미루기') {
expect(base.width, `${label} fills its menu column`).toBeCloseTo(base.parentWidth, 2);
}
await control.focus();
await expect(control, `${label} keyboard focus`).toBeFocused();
@@ -1098,6 +1098,9 @@ const clickOutsideMenu = (event: Event) => {
gap: 4px;
padding-top: 3px;
}
.bottom-shift-menu > summary {
width: 100%;
}
.command-picker {
position: absolute;
z-index: 80;