From 21be71a26d3e60b5add340baf8e6d67912f5bfdc Mon Sep 17 00:00:00 2001 From: SergeyEzhin Date: Wed, 17 Aug 2022 17:26:46 +0300 Subject: [PATCH] [SSE mobile] Fix Bug 58519 --- apps/common/mobile/resources/less/common-ios.less | 2 +- apps/spreadsheeteditor/mobile/src/view/Statusbar.jsx | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/apps/common/mobile/resources/less/common-ios.less b/apps/common/mobile/resources/less/common-ios.less index 7cd7e6cc4..639fd52ce 100644 --- a/apps/common/mobile/resources/less/common-ios.less +++ b/apps/common/mobile/resources/less/common-ios.less @@ -169,7 +169,7 @@ .page-content { > .list { &:last-child { - margin-bottom: 30px; + // margin-bottom: 30px; } } } diff --git a/apps/spreadsheeteditor/mobile/src/view/Statusbar.jsx b/apps/spreadsheeteditor/mobile/src/view/Statusbar.jsx index 4b1ccb4bb..9491a10f7 100644 --- a/apps/spreadsheeteditor/mobile/src/view/Statusbar.jsx +++ b/apps/spreadsheeteditor/mobile/src/view/Statusbar.jsx @@ -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,10 +60,10 @@ const PageAllList = (props) => { }, [sheets.activeWorksheet]); return ( - + 240 ? '240px' : `${heightView}px`}}> - { allSheets.map( (model,sheetIndex) => + {allSheets.map((model, sheetIndex) => onTabListClick(sheetIndex)}> {model.hidden ?