Skip to content

Commit

Permalink
feat(CompositeRow): Don't set margins (#1224)
Browse files Browse the repository at this point in the history
BREAKING CHANGE: CompositeRow no longer have bottom margin. You can add
the `u-mb-2` class name to you CompositeRows if you want to keep the
previous style
  • Loading branch information
drazik authored Nov 4, 2019
1 parent e54b5b8 commit a93ef0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion react/CompositeRow/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const CompositeRow = ({
}) => {
return (
<Media
className={cx('u-mb-2 ', className, dense ? 'u-ph-1' : 'u-p-1')}
className={cx(className, dense ? 'u-ph-1' : 'u-p-1')}
style={dense ? Object.assign({}, denseStyle, style) : style}
>
<div className="u-media u-media-grow u-row-m">
Expand Down

0 comments on commit a93ef0c

Please sign in to comment.