Skip to content

fix: blank gap below status bar when plugin side panel opens in browser#2816

Merged
abose merged 1 commit intomainfrom
ai
Apr 16, 2026
Merged

fix: blank gap below status bar when plugin side panel opens in browser#2816
abose merged 1 commit intomainfrom
ai

Conversation

@abose
Copy link
Copy Markdown
Member

@abose abose commented Apr 16, 2026

When a plugin side panel (e.g. live preview) opens, the content area narrows, causing the titlebar menubar items to wrap to multiple lines. This transiently inflates the titlebar height (~35px → ~92px), and multiple synchronous layout calculations run during this state, sizing the editor too small. After the titlebar settles (~58px), a ~34px blank gap remains below the status bar.

Add a ResizeObserver on the titlebar that detects height changes and triggers a layout recomputation, correcting the editor size after the titlebar wrapping settles.

When a plugin side panel (e.g. live preview) opens, the content area
narrows, causing the titlebar menubar items to wrap to multiple lines.
This transiently inflates the titlebar height (~35px → ~92px), and
multiple synchronous layout calculations run during this state, sizing
the editor too small. After the titlebar settles (~58px), a ~34px blank
gap remains below the status bar.

Add a ResizeObserver on the titlebar that detects height changes and
triggers a layout recomputation, correcting the editor size after the
titlebar wrapping settles.
@sonarqubecloud
Copy link
Copy Markdown

@abose abose merged commit 2aa3bdc into main Apr 16, 2026
15 of 21 checks passed
@abose abose deleted the ai branch April 16, 2026 09:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant