Merge pull request #11265 from matus12/Allow_gradient_in_story_previews

Addon-backgrounds: Allow gradients in story preview
This commit is contained in:
Norbert de Langen 2020-06-23 12:15:33 +02:00 committed by GitHub
commit 1900256e4f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -178,7 +178,7 @@ export class BackgroundSelector extends Component<Props> {
<Global
styles={(theme: Theme) => ({
[`#${iframeId}`]: {
backgroundColor:
background:
selectedBackgroundColor === 'transparent'
? theme.background.content
: selectedBackgroundColor,