Polish stat containers and optical alignment
Refine AC shield to use filled shape with border color instead of stroke outline. Add subtle muted background to initiative container. Apply optical vertical centering to round badge text (-3px) and AC shield number (-2px). Unify round badge corners to rounded-md. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -94,7 +94,8 @@ describe("TurnNavigation", () => {
|
||||
renderNav();
|
||||
const badge = screen.getByText("R1");
|
||||
const name = screen.getByText("Goblin");
|
||||
expect(badge.parentElement).toBe(name.parentElement);
|
||||
// badge text is inside inner span > outer span, name is a direct child
|
||||
expect(badge.closest(".flex")).toBe(name.parentElement);
|
||||
});
|
||||
|
||||
it("updates the round badge when round changes", () => {
|
||||
|
||||
Reference in New Issue
Block a user