0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-04-01 02:41:39 -05:00

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
This commit is contained in:
Rish 2020-05-07 21:03:08 +05:30
parent 12ac303fb2
commit fe1cb02203

View file

@ -21,7 +21,6 @@ const Styles = ({brandColor, disabled, style = {}}) => {
boxShadow: 'none',
userSelect: 'none',
width: '100%',
marginBottom: '12px',
...(style.button || {}) // Override any custom style
}
};