fix: 助理列與狀態列之間補上一行間距
助理列到輸入框的間距由引擎固定留一行,狀態列到助理列原本沒有間距。 為助理列加上 marginTop,使兩段間距相同。 Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 5.5
parent
3d63d168ff
commit
1bc2a335ee
@@ -36,13 +36,15 @@ export const register: Register = on => {
|
|||||||
return (
|
return (
|
||||||
<Box flexDirection="column">
|
<Box flexDirection="column">
|
||||||
{rest}
|
{rest}
|
||||||
<Text wrap="truncate">
|
<Box marginTop={1}>
|
||||||
{line.map(s => (
|
<Text wrap="truncate">
|
||||||
<Text color={s.color} dimColor={s.dim} bold={s.bold}>
|
{line.map(s => (
|
||||||
{s.text}
|
<Text color={s.color} dimColor={s.dim} bold={s.bold}>
|
||||||
</Text>
|
{s.text}
|
||||||
))}
|
</Text>
|
||||||
</Text>
|
))}
|
||||||
|
</Text>
|
||||||
|
</Box>
|
||||||
</Box>
|
</Box>
|
||||||
)
|
)
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user