style: 聊天输入框样式调整

This commit is contained in:
Zeew 2025-08-15 15:23:59 +08:00
parent d843b0e5a6
commit 94ae8a45f8
2 changed files with 4 additions and 1 deletions

View File

@ -502,6 +502,7 @@ class _TIMUIKitTextFieldLayoutNarrowState extends TIMUIKitState<TIMUIKitTextFiel
});
},
textAlignVertical: TextAlignVertical.top,
style: const TextStyle(fontSize: 16),
decoration: InputDecoration(
border: OutlineInputBorder(
borderRadius: BorderRadius.circular(12),
@ -522,6 +523,7 @@ class _TIMUIKitTextFieldLayoutNarrowState extends TIMUIKitState<TIMUIKitTextFiel
fillColor: hexToColor("f5f5f6"),
filled: true,
isDense: true,
contentPadding: const EdgeInsets.symmetric(vertical: 12, horizontal: 12),
hintText: widget.hintText ?? ''),
controller: widget.textEditingController,
specialTextSpanBuilder: PlatformUtils().isWeb

View File

@ -960,7 +960,7 @@ class _TIMUIKitTextFieldLayoutWideState extends TIMUIKitState<TIMUIKitTextFieldL
// // widget.onSubmitted();
},
textAlignVertical: TextAlignVertical.top,
style: const TextStyle(fontSize: 14),
style: const TextStyle(fontSize: 16),
decoration: InputDecoration(
hoverColor: Colors.transparent,
border: OutlineInputBorder(
@ -982,6 +982,7 @@ class _TIMUIKitTextFieldLayoutWideState extends TIMUIKitState<TIMUIKitTextFieldL
hexToColor("f5f5f6"),
filled: true,
isDense: true,
contentPadding: const EdgeInsets.symmetric(vertical: 12, horizontal: 12),
hintText: widget.hintText ?? '',
),
controller: widget.textEditingController,