[SSE mobile] Fix Bug 58519
This commit is contained in:
parent
e1c10bdbce
commit
21be71a26d
|
@ -169,7 +169,7 @@
|
||||||
.page-content {
|
.page-content {
|
||||||
> .list {
|
> .list {
|
||||||
&:last-child {
|
&:last-child {
|
||||||
margin-bottom: 30px;
|
// margin-bottom: 30px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -41,6 +41,7 @@ const PageAllList = (props) => {
|
||||||
const { t } = useTranslation();
|
const { t } = useTranslation();
|
||||||
const { sheets, onTabListClick } = props;
|
const { sheets, onTabListClick } = props;
|
||||||
const allSheets = sheets.sheets;
|
const allSheets = sheets.sheets;
|
||||||
|
const heightView = Device.android ? allSheets.length * 48 : allSheets.length * 44;
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
const tabs = $$('.sheet-tabs .tab');
|
const tabs = $$('.sheet-tabs .tab');
|
||||||
|
@ -59,7 +60,7 @@ const PageAllList = (props) => {
|
||||||
}, [sheets.activeWorksheet]);
|
}, [sheets.activeWorksheet]);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<View style={{height: '240px'}}>
|
<View style={{maxHeight: '240px', height: heightView > 240 ? '240px' : `${heightView}px`}}>
|
||||||
<Page>
|
<Page>
|
||||||
<List>
|
<List>
|
||||||
{allSheets.map((model, sheetIndex) =>
|
{allSheets.map((model, sheetIndex) =>
|
||||||
|
|
Loading…
Reference in a new issue