mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-04 12:41:06 +08:00
Allow gradient in story preview background
This commit is contained in:
parent
91b0418146
commit
08849a7b24
@ -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