Skip to content

Commit

Permalink
Merge pull request #21963 from storybookjs/jpzwarte/fix-viewport-remo…
Browse files Browse the repository at this point in the history
…ve-transitions

Viewport: Remove transitions when switching viewports
  • Loading branch information
ndelangen committed Apr 11, 2023
2 parents 3820676 + 22ff393 commit b820daa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/addons/viewport/src/Tool.tsx
Expand Up @@ -211,7 +211,7 @@ export const ViewportTool: FC = memo(
styles={{
[`iframe[data-is-storybook="true"]`]: {
margin: `auto`,
transition: 'width .3s, height .3s',
transition: 'none',
position: 'relative',
border: `1px solid black`,
boxShadow: '0 0 100px 100vw rgba(0,0,0,0.5)',
Expand Down

0 comments on commit b820daa

Please sign in to comment.