chore: 消息输入框加高加大 (minH 36, fontSize 14)
This commit is contained in:
@@ -248,7 +248,7 @@ export function ChatInput(): React.JSX.Element {
|
|||||||
onPaste={handlePaste}
|
onPaste={handlePaste}
|
||||||
placeholder="输入消息... (Enter 发送, Ctrl+Enter 换行, / 命令)" disabled={isStreaming}
|
placeholder="输入消息... (Enter 发送, Ctrl+Enter 换行, / 命令)" disabled={isStreaming}
|
||||||
rows={1}
|
rows={1}
|
||||||
style={{ width: '100%', background: 'transparent', border: 'none', outline: 'none', color: 'inherit', fontSize: 13, lineHeight: '24px', resize: 'none', fontFamily: 'inherit', minHeight: 24, maxHeight: 144 }}
|
style={{ width: '100%', background: 'transparent', border: 'none', outline: 'none', color: 'inherit', fontSize: 14, lineHeight: '28px', resize: 'none', fontFamily: 'inherit', minHeight: 36, maxHeight: 160 }}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<Stack direction="row" justifyContent="space-between" alignItems="center" sx={{ mt: 1, minHeight: 32 }}>
|
<Stack direction="row" justifyContent="space-between" alignItems="center" sx={{ mt: 1, minHeight: 32 }}>
|
||||||
|
|||||||
Reference in New Issue
Block a user