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 authored and shilman committed Apr 11, 2023
1 parent 7812b4a commit 919c548
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/addons/viewport/src/Tool.tsx
Original file line number Diff line number Diff line change
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 919c548

Please sign in to comment.