fix(electrobun): terminal flex-grows to fill space (was fixed 12rem)

This commit is contained in:
Hibryda 2026-03-20 03:41:28 +01:00
parent 05b3093945
commit 12d96bcb84
5 changed files with 39 additions and 37 deletions

View file

@ -133,7 +133,8 @@
.term-wrapper {
display: flex;
flex-direction: column;
flex-shrink: 0;
flex: 1;
min-height: 0;
}
/* Tab bar */
@ -232,9 +233,10 @@
}
.tab-add:hover { background: var(--ctp-surface0); color: var(--ctp-text); }
/* Terminal panes */
/* Terminal panes — fill remaining space below tab bar */
.term-panes {
height: 12rem;
flex: 1;
min-height: 8rem;
position: relative;
}