From 08849a7b249b396c5ba0317470b5baef00645ca1 Mon Sep 17 00:00:00 2001 From: Matus Backor Date: Tue, 23 Jun 2020 08:35:45 +0200 Subject: [PATCH] Allow gradient in story preview background --- addons/backgrounds/src/containers/BackgroundSelector.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/backgrounds/src/containers/BackgroundSelector.tsx b/addons/backgrounds/src/containers/BackgroundSelector.tsx index 69cc0ede873..7532a4c184b 100644 --- a/addons/backgrounds/src/containers/BackgroundSelector.tsx +++ b/addons/backgrounds/src/containers/BackgroundSelector.tsx @@ -178,7 +178,7 @@ export class BackgroundSelector extends Component { ({ [`#${iframeId}`]: { - backgroundColor: + background: selectedBackgroundColor === 'transparent' ? theme.background.content : selectedBackgroundColor,