app: fix vertical resizing issues

Some new issues with layout when resizing the browser window vertically
were caused either by recent xterm updates or other recent style changes.

This works around those issues.
This commit is contained in:
David Lechner
2022-12-30 14:08:36 -06:00
committed by David Lechner
parent 594bd0495c
commit ca50d60b2c
2 changed files with 14 additions and 1 deletions
+3
View File
@@ -4,6 +4,9 @@
## [Unreleased]
### Fixed
- Fixed terminal layout issues when resizing window vertically.
## [2.1.0-beta.3] - 2022-12-28
### Changed
+11 -1
View File
@@ -169,10 +169,20 @@ $dark-splitter-color-hover: color.adjust(
// we want overflow visible for editor overlays but it breaks resizing
// so we can only apply this when not resizing
.splitter-layout:not(.layout-changing) > .layout-pane {
.splitter-layout:not(.layout-changing) > .layout-pane:has(.pb-app-editor) {
overflow: visible;
}
.splitter-layout .layout-pane {
// fix double scroll bars in terminal when resizing
overflow: hidden;
&.layout-pane-primary {
// fix resizing window vertically
min-height: 0;
}
}
// hide the docs and resize separator
div.pb-hide-docs > :not(.layout-pane-primary) {