ui: 列表搜索框扩充微调

This commit is contained in:
CrescentLeaf
2025-11-29 12:52:00 +08:00
parent 6f6dd3bfac
commit c2f99f5c62
3 changed files with 6 additions and 3 deletions

View File

@@ -54,13 +54,14 @@ export default function AllChatsList({
overflowY: 'auto',
paddingRight: '10px',
paddingLeft: '10px',
paddingTop: '0',
display: display ? undefined : 'none',
height: '100%',
width: '100%',
}} {...props}>
<mdui-text-field icon="search" type="search" clearable ref={searchRef} variant="outlined" placeholder="搜索..." style={{
marginTop: '5px',
marginBottom: '13px',
paddingTop: '5px',
paddingBottom: '13px',
position: 'sticky',
top: '0',
backgroundColor: 'rgb(var(--mdui-color-background))',