From d30a5c5bdc277a9002920193f57ca06b5863edf9 Mon Sep 17 00:00:00 2001 From: Hikaru Yoshino Date: Mon, 9 Oct 2023 16:23:47 +0900 Subject: [PATCH] fix: remove negative margin when layout is centered or padded --- code/ui/blocks/src/components/Preview.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/code/ui/blocks/src/components/Preview.tsx b/code/ui/blocks/src/components/Preview.tsx index 18306e8e4da9..a4651ba72184 100644 --- a/code/ui/blocks/src/components/Preview.tsx +++ b/code/ui/blocks/src/components/Preview.tsx @@ -52,7 +52,6 @@ const ChildrenContainer = styled.div( layout === 'centered' || layout === 'padded' ? { padding: '30px 20px', - margin: -10, '& .innerZoomElementWrapper > *': { width: 'auto', border: '10px solid transparent!important',