fix: align sidebar worker action spacing

This commit is contained in:
2026-09-18 19:30:29 +09:00
parent 8dbc1629ff
commit 79bafa2a64
3 changed files with 22 additions and 16 deletions
@@ -122,6 +122,14 @@ Deno.test("Shell regions use selected Bevel edges while open separators use Beve
showroomCss.includes("margin-inline: var(--space-2)"),
"The design language and showroom must preserve adjacent area and line hierarchy",
);
assert(
sidebarCss.includes(".section-action {") &&
sidebarCss.includes("padding: var(--space-1) var(--space-2)") &&
sidebarCss.includes("font-size: var(--font-size-compact)") &&
sidebarCss.includes("line-height: var(--line-height-compact)") &&
!showroomCss.includes(".workspace-sidebar .section-action"),
"Workspace Sidebar must own the Workers section action spacing used by the showroom",
);
assert(
!sidebarCss.includes("border-right:") &&
!sidebarCss.includes("border-bottom:") &&