Skip to content

fix: serial panel still grows — use fixed height instead of min-height#62

Merged
zevorn merged 1 commit intomainfrom
fix/serial-panel-fixed
Mar 17, 2026
Merged

fix: serial panel still grows — use fixed height instead of min-height#62
zevorn merged 1 commit intomainfrom
fix/serial-panel-fixed

Conversation

@zevorn
Copy link
Copy Markdown
Owner

@zevorn zevorn commented Mar 17, 2026

`min-height: 480px` only sets a floor. The panel still grows unbounded when serial output content exceeds it.

Fix: `min-height` → `height: 480px`. Combined with `overflow: hidden` on the panel and `height: 0; flex: 1; overflow-y: auto` on serial-output, content scrolls within the fixed container.

min-height only sets a floor — the panel still grows when content
exceeds 480px because there is no upper bound.  Change to a fixed
height so serial-output scrolls within the container.

Signed-off-by: Chao Liu <chao.liu.zevorn@gmail.com>
@zevorn zevorn merged commit 937dc4b into main Mar 17, 2026
1 check passed
@zevorn zevorn deleted the fix/serial-panel-fixed branch March 19, 2026 01:47
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