style(tui): keep short transcripts and composer top-aligned

This commit is contained in:
Kail Tian
2026-08-25 16:21:44 +08:00
committed by chengyongru
parent 4b2965c8f3
commit e427c9eeae
2 changed files with 42 additions and 1 deletions
+2 -1
View File
@@ -91,7 +91,7 @@ export class Transcript {
id: "nanobot-tui-transcript",
width: "100%",
minHeight: 0,
flexGrow: 1,
flexGrow: 0,
scrollX: false,
scrollY: true,
stickyScroll: true,
@@ -99,6 +99,7 @@ export class Transcript {
viewportCulling: true,
contentOptions: {
flexDirection: "column",
minHeight: 0,
paddingTop: 1,
paddingBottom: 1,
paddingLeft: 1,