diff --git a/e2e/statusBarLayout.spec.ts b/e2e/statusBarLayout.spec.ts index be5f53fb44..e0018a5b38 100644 --- a/e2e/statusBarLayout.spec.ts +++ b/e2e/statusBarLayout.spec.ts @@ -43,7 +43,7 @@ test("status bar uses its row height and widget insets in both densities", async const encoding = bar.locator('[data-status-item="editor.encoding"]'); await expect(lineEnding.getByRole("button")).toBeVisible(); await expect(encoding.getByRole("button")).toBeVisible(); - await expect(bar).toHaveCSS("height", "34px"); + await expect(bar).toHaveCSS("height", "30px"); await expect(encoding.getByRole("button")).toHaveCSS("font-size", "13px"); const widgetGap = async () => { diff --git a/src/styles/tokens.css b/src/styles/tokens.css index 3f30922ccf..f57a16585f 100644 --- a/src/styles/tokens.css +++ b/src/styles/tokens.css @@ -370,12 +370,12 @@ html[data-os="windows"] { --h-tab: 28px; --h-row: 24px; --h-list-row: 24px; - /* WebStorm 2026.3 Islands with the navigation bar in the status bar: 34px, and the islands - end 3px above it (Island.borderWidth 6 / 2), the same inset they keep below the toolbar. */ - --h-statusbar: 34px; - /* Status bar breadcrumbs sit 2.5px above the bar's middle in WebStorm 2026.3; compact mode's - StatusBar.Breadcrumbs.navBarInsets.compact 1,0,1,4 centres them. */ - --statusbar-crumbs-lift: 5px; + /* IdeStatusBarImpl: a widget's label height + StatusBar.Widget.widgetInsets 6,8, at least 20; + the islands end 3px above it (Island.borderWidth 6 / 2), as they do below the toolbar. */ + --h-statusbar: 30px; + /* StatusBar.Breadcrumbs.navBarInsets 3,0,4,4 put the breadcrumbs half a pixel above the + middle; compact mode's navBarInsets.compact 1,0,1,4 centres them. */ + --statusbar-crumbs-lift: 1px; --island-edge: 3px; --h-navigationbar: 26px; --h-field: 28px;