Fix Bug 47375
This commit is contained in:
parent
1f8765a5de
commit
8bd16f1719
|
@ -196,7 +196,8 @@ const EditParagraph = props => {
|
||||||
const paragraph = props.storeFocusObjects.paragraphObject;
|
const paragraph = props.storeFocusObjects.paragraphObject;
|
||||||
const curBackColor = storeParagraphSettings.backColor ? storeParagraphSettings.backColor : storeParagraphSettings.getBackgroundColor(paragraph);
|
const curBackColor = storeParagraphSettings.backColor ? storeParagraphSettings.backColor : storeParagraphSettings.getBackgroundColor(paragraph);
|
||||||
const background = curBackColor !== 'transparent' ? `#${(typeof curBackColor === "object" ? curBackColor.color : curBackColor)}` : curBackColor;
|
const background = curBackColor !== 'transparent' ? `#${(typeof curBackColor === "object" ? curBackColor.color : curBackColor)}` : curBackColor;
|
||||||
|
const activeStyle = Device.android ? 'link no-active-state' : 'no-active-state';
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Fragment>
|
<Fragment>
|
||||||
<List>
|
<List>
|
||||||
|
@ -222,7 +223,7 @@ const EditParagraph = props => {
|
||||||
}}></ListItem>
|
}}></ListItem>
|
||||||
</List>
|
</List>
|
||||||
<BlockTitle>{_t.textParagraphStyles}</BlockTitle>
|
<BlockTitle>{_t.textParagraphStyles}</BlockTitle>
|
||||||
<List className='link no-active-state'>
|
<List className={activeStyle}>
|
||||||
{paragraphStyles.map((style, index) => (
|
{paragraphStyles.map((style, index) => (
|
||||||
<ListItem
|
<ListItem
|
||||||
key={index}
|
key={index}
|
||||||
|
|
Loading…
Reference in a new issue