ui: 列表搜索框扩充微调
This commit is contained in:
@@ -54,13 +54,14 @@ export default function AllChatsList({
|
|||||||
overflowY: 'auto',
|
overflowY: 'auto',
|
||||||
paddingRight: '10px',
|
paddingRight: '10px',
|
||||||
paddingLeft: '10px',
|
paddingLeft: '10px',
|
||||||
|
paddingTop: '0',
|
||||||
display: display ? undefined : 'none',
|
display: display ? undefined : 'none',
|
||||||
height: '100%',
|
height: '100%',
|
||||||
width: '100%',
|
width: '100%',
|
||||||
}} {...props}>
|
}} {...props}>
|
||||||
<mdui-text-field icon="search" type="search" clearable ref={searchRef} variant="outlined" placeholder="搜索..." style={{
|
<mdui-text-field icon="search" type="search" clearable ref={searchRef} variant="outlined" placeholder="搜索..." style={{
|
||||||
marginTop: '5px',
|
paddingTop: '5px',
|
||||||
marginBottom: '13px',
|
paddingBottom: '13px',
|
||||||
position: 'sticky',
|
position: 'sticky',
|
||||||
top: '0',
|
top: '0',
|
||||||
backgroundColor: 'rgb(var(--mdui-color-background))',
|
backgroundColor: 'rgb(var(--mdui-color-background))',
|
||||||
|
|||||||
@@ -62,6 +62,7 @@ export default function ContactsList({
|
|||||||
overflowY: 'auto',
|
overflowY: 'auto',
|
||||||
paddingLeft: '10px',
|
paddingLeft: '10px',
|
||||||
paddingRight: '10px',
|
paddingRight: '10px',
|
||||||
|
paddingTop: '0',
|
||||||
display: display ? undefined : 'none',
|
display: display ? undefined : 'none',
|
||||||
height: '100%',
|
height: '100%',
|
||||||
width: '100%',
|
width: '100%',
|
||||||
@@ -141,7 +142,7 @@ export default function ContactsList({
|
|||||||
</>
|
</>
|
||||||
}
|
}
|
||||||
<div style={{
|
<div style={{
|
||||||
height: "15px",
|
height: "10px",
|
||||||
}}></div>
|
}}></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
@@ -55,6 +55,7 @@ export default function RecentsList({
|
|||||||
overflowY: 'auto',
|
overflowY: 'auto',
|
||||||
paddingRight: '10px',
|
paddingRight: '10px',
|
||||||
paddingLeft: '10px',
|
paddingLeft: '10px',
|
||||||
|
paddingTop: '0',
|
||||||
display: display ? undefined : 'none',
|
display: display ? undefined : 'none',
|
||||||
height: '100%',
|
height: '100%',
|
||||||
width: '100%',
|
width: '100%',
|
||||||
|
|||||||
Reference in New Issue
Block a user