дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-12-04 09:11:10 +02:00
fix(workbench): restore the 30px status bar height
The status bar is a widget's label height plus StatusBar.Widget.widgetInsets 6,8 (30px at the default font), not 34px; the breadcrumbs sit 1px above the middle per StatusBar.Breadcrumbs.navBarInsets 3,0,4,4. Compact mode is unchanged.
Цей коміт міститься в:
1 джерело
e670463b8e
коміт
34cb6a45cd
2 files changed
+7
-7
No files matched your search
@@ -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 () => {
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in new issue
Заблокувати користувача