fix(ui): 兩個列表沒有吃滿寬度

This commit is contained in:
CrescentLeaf
2025-09-21 11:06:21 +08:00
parent 082817d6cd
commit 83719f5f44
2 changed files with 2 additions and 0 deletions

View File

@@ -45,6 +45,7 @@ export default function ContactsList({
paddingRight: '10px', paddingRight: '10px',
display: display ? undefined : 'none', display: display ? undefined : 'none',
height: '100%', height: '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', marginTop: '5px',

View File

@@ -32,6 +32,7 @@ export default function RecentsList({
paddingRight: '10px', paddingRight: '10px',
display: display ? undefined : 'none', display: display ? undefined : 'none',
height: '100%', height: '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', marginTop: '5px',