diff --git a/apps/common/mobile/resources/less/common.less b/apps/common/mobile/resources/less/common.less
index 9117f6b5f..cc473cd9e 100644
--- a/apps/common/mobile/resources/less/common.less
+++ b/apps/common/mobile/resources/less/common.less
@@ -533,28 +533,44 @@
padding-left: 5px;
padding-right: 5px;
padding-top: 5px;
- }
- li {
- border: 0.5px solid #c8c7cc;
- padding: 2px;
- background-repeat: no-repeat;
- width: 106px;
- height: 56px;
- margin-bottom: 10px;
- background-position: center;
- }
- .item-inner:after {
- display: none;
- }
- .item-theme.active:before {
- content: '';
- position: absolute;
- width: 22px;
- height: 22px;
- right: 2px;
- bottom: 2px;
- z-index: 1;
- .encoded-svg-background('');
+ li.item-theme {
+ border: 0.5px solid #c8c7cc;
+ padding: 2px;
+ background-repeat: no-repeat;
+ width: 106px;
+ height: 56px;
+ margin-bottom: 10px;
+ background-position: center;
+ .item-content {
+ width: 100%;
+ height: 100%;
+ padding: 0;
+ .item-inner {
+ width: 100%;
+ height: 100%;
+ padding: 0;
+ &:after {
+ display: none;
+ }
+ .thumb {
+ width: 100%;
+ height: 100%;
+ padding: 0;
+ background-size: contain;
+ }
+ }
+ }
+ &.active:before {
+ content: '';
+ position: absolute;
+ width: 22px;
+ height: 22px;
+ right: 2px;
+ bottom: 2px;
+ z-index: 1;
+ .encoded-svg-background('');
+ }
+ }
}
}
diff --git a/apps/spreadsheeteditor/mobile/src/view/edit/EditCell.jsx b/apps/spreadsheeteditor/mobile/src/view/edit/EditCell.jsx
index e66e49045..e2844bc9f 100644
--- a/apps/spreadsheeteditor/mobile/src/view/edit/EditCell.jsx
+++ b/apps/spreadsheeteditor/mobile/src/view/edit/EditCell.jsx
@@ -100,8 +100,9 @@ const EditCell = props => {
{cellStyles.map((elem, index) => {
return (
- props.onStyleClick(elem.name)}>
+
)
})}