From fe1cb0220316378470c2021ba8eea46331195bb9 Mon Sep 17 00:00:00 2001 From: Rish Date: Thu, 7 May 2020 21:03:08 +0530 Subject: [PATCH] Removed default margin style for Button component no issue - Adding default margin for action button can cause unwanted behavior where margin needs to be avoided. - Allow higher level components to directly add margin if needed --- ghost/portal/src/components/common/ActionButton.js | 1 - 1 file changed, 1 deletion(-) diff --git a/ghost/portal/src/components/common/ActionButton.js b/ghost/portal/src/components/common/ActionButton.js index 3ac5d2b054..647c7f098f 100644 --- a/ghost/portal/src/components/common/ActionButton.js +++ b/ghost/portal/src/components/common/ActionButton.js @@ -21,7 +21,6 @@ const Styles = ({brandColor, disabled, style = {}}) => { boxShadow: 'none', userSelect: 'none', width: '100%', - marginBottom: '12px', ...(style.button || {}) // Override any custom style } };