From 726a27cc0df6b8c439d0aa8e0dd05cac32774b3e Mon Sep 17 00:00:00 2001 From: Chris Villa Date: Wed, 5 Jul 2023 11:25:49 +0100 Subject: [PATCH] fix: remove border on draggable components --- packages/core/components/DraggableComponent/styles.module.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/core/components/DraggableComponent/styles.module.css b/packages/core/components/DraggableComponent/styles.module.css index 466bf7d8fa..9ddef7d71f 100644 --- a/packages/core/components/DraggableComponent/styles.module.css +++ b/packages/core/components/DraggableComponent/styles.module.css @@ -3,7 +3,8 @@ } .DraggableComponent-contents { - border: 1px inset transparent; /* Prevent margin collapsing */ + margin-top: -1px; /* Prevent margin collapsing */ + padding-top: 1px; /* Prevent margin collapsing */ position: relative; /* Reset stacking context */ }