[PE mobile] Bug 46990
This commit is contained in:
parent
fe34b1c3e3
commit
a490e8e239
Binary file not shown.
Before Width: | Height: | Size: 41 KiB After Width: | Height: | Size: 46 KiB |
|
@ -233,8 +233,8 @@
|
||||||
position: relative;
|
position: relative;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
box-shadow: 0 0 0 1px rgba(0,0,0,.15);
|
box-shadow: 0 0 0 1px rgba(0,0,0,.15);
|
||||||
width: 85px;
|
width: 88px;
|
||||||
height: 38px;
|
height: 40px;
|
||||||
margin-top: 14px;
|
margin-top: 14px;
|
||||||
background-image: url(../img/themes/themes.png);
|
background-image: url(../img/themes/themes.png);
|
||||||
display: block;
|
display: block;
|
||||||
|
|
|
@ -47,6 +47,8 @@ const PageTheme = props => {
|
||||||
const slideThemeIndex = storeSlideSettings.slideThemeIndex;
|
const slideThemeIndex = storeSlideSettings.slideThemeIndex;
|
||||||
const defaultThemes = arrayThemes[0];
|
const defaultThemes = arrayThemes[0];
|
||||||
const docThemes = arrayThemes[1];
|
const docThemes = arrayThemes[1];
|
||||||
|
|
||||||
|
console.log(arrayThemes);
|
||||||
|
|
||||||
// console.log(slideThemeIndex);
|
// console.log(slideThemeIndex);
|
||||||
// console.log(arrayThemes);
|
// console.log(arrayThemes);
|
||||||
|
@ -63,7 +65,7 @@ const PageTheme = props => {
|
||||||
{defaultThemes.map((elem, index) => {
|
{defaultThemes.map((elem, index) => {
|
||||||
return (
|
return (
|
||||||
<ListItem key={elem.Index} className={elem.Index === slideThemeIndex ? "item-theme active" : "item-theme"}
|
<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={() => {
|
onClick={() => {
|
||||||
storeSlideSettings.changeSlideThemeIndex(elem.Index);
|
storeSlideSettings.changeSlideThemeIndex(elem.Index);
|
||||||
props.onThemeClick(elem.Index);
|
props.onThemeClick(elem.Index);
|
||||||
|
|
Loading…
Reference in a new issue