[PE mobile] Bug 46990

This commit is contained in:
SergeyEzhin 2021-04-22 17:45:16 +03:00
parent fe34b1c3e3
commit a490e8e239
3 changed files with 5 additions and 3 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 41 KiB

After

Width:  |  Height:  |  Size: 46 KiB

View file

@ -233,8 +233,8 @@
position: relative;
margin: 0;
box-shadow: 0 0 0 1px rgba(0,0,0,.15);
width: 85px;
height: 38px;
width: 88px;
height: 40px;
margin-top: 14px;
background-image: url(../img/themes/themes.png);
display: block;

View file

@ -47,6 +47,8 @@ const PageTheme = props => {
const slideThemeIndex = storeSlideSettings.slideThemeIndex;
const defaultThemes = arrayThemes[0];
const docThemes = arrayThemes[1];
console.log(arrayThemes);
// console.log(slideThemeIndex);
// console.log(arrayThemes);
@ -63,7 +65,7 @@ const PageTheme = props => {
{defaultThemes.map((elem, index) => {
return (
<ListItem key={elem.Index} className={elem.Index === slideThemeIndex ? "item-theme active" : "item-theme"}
style={{backgroundPosition: "0 " + index * -38 + "px"}}
style={{backgroundPosition: "0 " + index * -40 + "px"}}
onClick={() => {
storeSlideSettings.changeSlideThemeIndex(elem.Index);
props.onThemeClick(elem.Index);