mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-01 05:05:25 +08:00
Merge pull request #11265 from matus12/Allow_gradient_in_story_previews
Addon-backgrounds: Allow gradients in story preview
This commit is contained in:
commit
1900256e4f
@ -178,7 +178,7 @@ export class BackgroundSelector extends Component<Props> {
|
||||
<Global
|
||||
styles={(theme: Theme) => ({
|
||||
[`#${iframeId}`]: {
|
||||
backgroundColor:
|
||||
background:
|
||||
selectedBackgroundColor === 'transparent'
|
||||
? theme.background.content
|
||||
: selectedBackgroundColor,
|
||||
|
Loading…
x
Reference in New Issue
Block a user