[DE mobile] Fix Bug 58553
This commit is contained in:
parent
3e76a33453
commit
e1c10bdbce
|
@ -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>
|
||||
))}
|
||||
|
|
Loading…
Reference in a new issue