From 919c54887b88c86c793fe301d0d83deae17d3043 Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Tue, 11 Apr 2023 12:26:33 +0200 Subject: [PATCH] Merge pull request #21963 from storybookjs/jpzwarte/fix-viewport-remove-transitions Viewport: Remove transitions when switching viewports --- code/addons/viewport/src/Tool.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/addons/viewport/src/Tool.tsx b/code/addons/viewport/src/Tool.tsx index 615878d2cc28..608a98576bcc 100644 --- a/code/addons/viewport/src/Tool.tsx +++ b/code/addons/viewport/src/Tool.tsx @@ -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)',