fix(game-ui): 턴 이동 버튼 너비를 채움
This commit is contained in:
@@ -4180,6 +4180,8 @@ test('all main Lumen button families share the rounded pressed geometry', async
|
|||||||
return {
|
return {
|
||||||
top: rect.top,
|
top: rect.top,
|
||||||
bottom: rect.bottom,
|
bottom: rect.bottom,
|
||||||
|
width: rect.width,
|
||||||
|
parentWidth: element.parentElement?.getBoundingClientRect().width ?? 0,
|
||||||
height: rect.height,
|
height: rect.height,
|
||||||
marginTop: style.marginTop,
|
marginTop: style.marginTop,
|
||||||
borderTop: style.borderTopWidth,
|
borderTop: style.borderTopWidth,
|
||||||
@@ -4212,6 +4214,9 @@ test('all main Lumen button families share the rounded pressed geometry', async
|
|||||||
radius: expectedGeometry?.radius ?? '5.25px',
|
radius: expectedGeometry?.radius ?? '5.25px',
|
||||||
filter: 'none',
|
filter: 'none',
|
||||||
});
|
});
|
||||||
|
if (label === '당기기' || label === '미루기') {
|
||||||
|
expect(base.width, `${label} fills its menu column`).toBeCloseTo(base.parentWidth, 2);
|
||||||
|
}
|
||||||
|
|
||||||
await control.focus();
|
await control.focus();
|
||||||
await expect(control, `${label} keyboard focus`).toBeFocused();
|
await expect(control, `${label} keyboard focus`).toBeFocused();
|
||||||
|
|||||||
@@ -1098,6 +1098,9 @@ const clickOutsideMenu = (event: Event) => {
|
|||||||
gap: 4px;
|
gap: 4px;
|
||||||
padding-top: 3px;
|
padding-top: 3px;
|
||||||
}
|
}
|
||||||
|
.bottom-shift-menu > summary {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
.command-picker {
|
.command-picker {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
z-index: 80;
|
z-index: 80;
|
||||||
|
|||||||
Reference in New Issue
Block a user