[DE mobile] Fix Bug 58553

This commit is contained in:
SergeyEzhin 2022-08-17 15:21:43 +03:00
parent 3e76a33453
commit e1c10bdbce

View file

@ -207,7 +207,7 @@ const EditParagraph = props => {
onStyleMenuDelete: props.onStyleMenuDelete onStyleMenuDelete: props.onStyleMenuDelete
}}> }}>
{curStyle && {curStyle &&
<div slot="inner" style={{backgroundImage: 'url(' + curStyle.image + ')', width: '100%', height: thumbSize.height + 'px', backgroundSize: '100% ' + thumbSize.height + 'px', backgroundRepeat: 'no-repeat'}}></div> <div slot="inner" style={{backgroundImage: 'url(' + curStyle.image + ')', width: '100%', height: thumbSize.height + 'px', backgroundSize: 'contain', backgroundRepeat: 'no-repeat'}}></div>
} }
</ListItem> </ListItem>
</List> </List>
@ -278,7 +278,7 @@ const EditParagraphStyle = props => {
}} }}
> >
<div slot="inner" <div slot="inner"
style={{backgroundImage: 'url(' + style.image + ')', width: '100%', height: thumbSize.height + 'px', backgroundSize: '100% ' + thumbSize.height + 'px', backgroundRepeat: 'no-repeat'}} style={{backgroundImage: 'url(' + style.image + ')', width: '100%', height: thumbSize.height + 'px', backgroundSize: 'contain', backgroundRepeat: 'no-repeat'}}
></div> ></div>
{!api.asc_IsStyleDefault(style.name) && ( {!api.asc_IsStyleDefault(style.name) && (
<div slot="inner-end"> <div slot="inner-end">
@ -369,7 +369,7 @@ const ChangeNextParagraphStyle = props => {
}} }}
> >
<div slot="inner" <div slot="inner"
style={{backgroundImage: 'url(' + style.image + ')', width: '100%', height: thumbSize.height + 'px', backgroundSize: '100% ' + thumbSize.height + 'px', backgroundRepeat: 'no-repeat'}} style={{backgroundImage: 'url(' + style.image + ')', width: '100%', height: thumbSize.height + 'px', backgroundSize: 'contain', backgroundRepeat: 'no-repeat'}}
></div> ></div>
</ListItem> </ListItem>
))} ))}