ui: 列表搜索框扩充微调
This commit is contained in:
@@ -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))',
|
||||
|
||||
@@ -62,6 +62,7 @@ export default function ContactsList({
|
||||
overflowY: 'auto',
|
||||
paddingLeft: '10px',
|
||||
paddingRight: '10px',
|
||||
paddingTop: '0',
|
||||
display: display ? undefined : 'none',
|
||||
height: '100%',
|
||||
width: '100%',
|
||||
@@ -141,7 +142,7 @@ export default function ContactsList({
|
||||
</>
|
||||
}
|
||||
<div style={{
|
||||
height: "15px",
|
||||
height: "10px",
|
||||
}}></div>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -55,6 +55,7 @@ export default function RecentsList({
|
||||
overflowY: 'auto',
|
||||
paddingRight: '10px',
|
||||
paddingLeft: '10px',
|
||||
paddingTop: '0',
|
||||
display: display ? undefined : 'none',
|
||||
height: '100%',
|
||||
width: '100%',
|
||||
|
||||
Reference in New Issue
Block a user