mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-29 05:33:49 +00:00
Prevent panes from overflowing the window (#3609)
This PR fixes an issues where it was possible for panes to overflow the window (for instance, by having a large number of tabs in the tab bar). Release Notes: - N/A
This commit is contained in:
parent
c0846d6f74
commit
a334a21f3e
1 changed files with 1 additions and 0 deletions
|
@ -2106,6 +2106,7 @@ impl Render for Pane {
|
|||
.key_context("Pane")
|
||||
.track_focus(&self.focus_handle)
|
||||
.size_full()
|
||||
.flex_none()
|
||||
.overflow_hidden()
|
||||
.on_action(cx.listener(|pane, _: &SplitLeft, cx| pane.split(SplitDirection::Left, cx)))
|
||||
.on_action(cx.listener(|pane, _: &SplitUp, cx| pane.split(SplitDirection::Up, cx)))
|
||||
|
|
Loading…
Reference in a new issue