[SSE mobile] Fix Bug 58519

This commit is contained in:
SergeyEzhin 2022-08-17 17:26:46 +03:00
parent e1c10bdbce
commit 21be71a26d
2 changed files with 4 additions and 3 deletions

View file

@ -169,7 +169,7 @@
.page-content {
> .list {
&:last-child {
margin-bottom: 30px;
// margin-bottom: 30px;
}
}
}

View file

@ -41,6 +41,7 @@ const PageAllList = (props) => {
const { t } = useTranslation();
const { sheets, onTabListClick } = props;
const allSheets = sheets.sheets;
const heightView = Device.android ? allSheets.length * 48 : allSheets.length * 44;
useEffect(() => {
const tabs = $$('.sheet-tabs .tab');
@ -59,7 +60,7 @@ const PageAllList = (props) => {
}, [sheets.activeWorksheet]);
return (
<View style={{height: '240px'}}>
<View style={{maxHeight: '240px', height: heightView > 240 ? '240px' : `${heightView}px`}}>
<Page>
<List>
{allSheets.map((model, sheetIndex) =>