fix(electrobun): terminal flex-grows to fill space (was fixed 12rem)
This commit is contained in:
parent
05b3093945
commit
12d96bcb84
5 changed files with 39 additions and 37 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -4,8 +4,8 @@
|
|||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>Svelte App</title>
|
||||
<script type="module" crossorigin src="/assets/index-BSJ7bu8E.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="/assets/index-BzuwgabH.css">
|
||||
<script type="module" crossorigin src="/assets/index-DQr-K0KR.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="/assets/index-BtkSUnsK.css">
|
||||
</head>
|
||||
<body>
|
||||
<div id="app"></div>
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue