From 0c718872a7e19fc45f4a47083b59a4b61c2aa401 Mon Sep 17 00:00:00 2001 From: SergeyEzhin Date: Wed, 8 Sep 2021 20:11:47 +0300 Subject: [PATCH] [SSE mobile] Corrected functions list --- apps/common/mobile/resources/less/common.less | 37 +++++++++++-------- .../mobile/src/view/CellEditor.jsx | 5 ++- 2 files changed, 24 insertions(+), 18 deletions(-) diff --git a/apps/common/mobile/resources/less/common.less b/apps/common/mobile/resources/less/common.less index 9090b089b..cfe482ac2 100644 --- a/apps/common/mobile/resources/less/common.less +++ b/apps/common/mobile/resources/less/common.less @@ -879,25 +879,30 @@ input[type="number"]::-webkit-inner-spin-button { .functions-list { height: 175px; + width: 360px; overflow-y: auto; overflow-x: hidden; - // position: absolute; - // top: 30px; - // right: 0; background-color: @white; - .list { - // margin: 0; - // ul:before { - // display: none; - // } - // .item-content { - // padding-left: 0; - // } - // .item-inner { - // padding-left: calc(var(--f7-list-item-padding-horizontal) + var(--f7-safe-area-left) - var(--menu-list-offset)); - // } - .item-title { - font-size: 15px; + &__mobile { + position: absolute; + top: 30px; + right: 0; + left: 0; + width: 100%; + .list { + margin: 0; + ul:before { + display: none; + } + .item-content { + padding-left: 0; + } + .item-inner { + padding-left: calc(var(--f7-list-item-padding-horizontal) + var(--f7-safe-area-left) - var(--menu-list-offset)); + } + .item-title { + font-size: 15px; + } } } } diff --git a/apps/spreadsheeteditor/mobile/src/view/CellEditor.jsx b/apps/spreadsheeteditor/mobile/src/view/CellEditor.jsx index ed5e50f7e..bae1736a1 100644 --- a/apps/spreadsheeteditor/mobile/src/view/CellEditor.jsx +++ b/apps/spreadsheeteditor/mobile/src/view/CellEditor.jsx @@ -42,7 +42,7 @@ const FunctionsList = props => { const funcArr = props.funcArr; return ( -
+
{funcArr.map((elem, index) => { return ( @@ -130,7 +130,8 @@ const CellEditorView = props => { > {funcArr && funcArr.length ? - + +