Fix Bug 47375

This commit is contained in:
ShimaginAndrey 2021-09-07 17:13:13 +03:00
parent 1f8765a5de
commit 8bd16f1719

View file

@ -196,6 +196,7 @@ 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>
@ -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}