[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
}}>
{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>
</List>
@ -278,7 +278,7 @@ const EditParagraphStyle = props => {
}}
>
<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>
{!api.asc_IsStyleDefault(style.name) && (
<div slot="inner-end">
@ -369,7 +369,7 @@ const ChangeNextParagraphStyle = props => {
}}
>
<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>
</ListItem>
))}