A blank row above the composer and between the text and the model line
This commit is contained in:
1 parent
356b9e5818
commit
000645909c
1 file changed
+4
-2
+4
-2
@@ -971,7 +971,8 @@ export function App(props: { readonly session: T3Session; readonly config: Tui3C
|
|||||||
const detailsColumn = panel.show && width - listWidth - DETAILS_WIDTH >= MIN_CONVERSATION_WIDTH;
|
const detailsColumn = panel.show && width - listWidth - DETAILS_WIDTH >= MIN_CONVERSATION_WIDTH;
|
||||||
const detailsInPlace = panel.show && !detailsColumn;
|
const detailsInPlace = panel.show && !detailsColumn;
|
||||||
// The block's height: a row of padding on top, the text, then the model line inside it.
|
// The block's height: a row of padding on top, the text, then the model line inside it.
|
||||||
const composerHeight = Math.min(MAX_COMPOSER_LINES, composerLines) + 2;
|
// Padding row, text, a blank row, then the model line.
|
||||||
|
const composerHeight = Math.min(MAX_COMPOSER_LINES, composerLines) + 3;
|
||||||
const placeholder =
|
const placeholder =
|
||||||
mode !== "input"
|
mode !== "input"
|
||||||
? "Press i to type"
|
? "Press i to type"
|
||||||
@@ -1168,7 +1169,7 @@ export function App(props: { readonly session: T3Session; readonly config: Tui3C
|
|||||||
</box>
|
</box>
|
||||||
) : null}
|
) : null}
|
||||||
{threadId || draft ? (
|
{threadId || draft ? (
|
||||||
<box flexDirection="column" flexShrink={0} marginLeft={1} marginRight={1}>
|
<box flexDirection="column" flexShrink={0} marginTop={1} marginLeft={1} marginRight={1}>
|
||||||
<box
|
<box
|
||||||
border={["left"]}
|
border={["left"]}
|
||||||
customBorderChars={BAR}
|
customBorderChars={BAR}
|
||||||
@@ -1212,6 +1213,7 @@ export function App(props: { readonly session: T3Session; readonly config: Tui3C
|
|||||||
flexDirection="row"
|
flexDirection="row"
|
||||||
height={1}
|
height={1}
|
||||||
flexShrink={0}
|
flexShrink={0}
|
||||||
|
marginTop={1}
|
||||||
onMouseDown={(event: MouseEvent) => {
|
onMouseDown={(event: MouseEvent) => {
|
||||||
event.stopPropagation();
|
event.stopPropagation();
|
||||||
models.open();
|
models.open();
|
||||||
|
|||||||
Reference in new issue
Block a user