From 745ca05dd8f91c6d47bebeaebdffb1f82ebeae5b Mon Sep 17 00:00:00 2001 From: Philipp Hugenroth Date: Wed, 28 Jul 2021 14:41:44 +0200 Subject: [PATCH] Move margin to wrapper for better alignment Signed-off-by: Philipp Hugenroth --- .../src/layout/ContentHeader/ContentHeader.tsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/packages/core-components/src/layout/ContentHeader/ContentHeader.tsx b/packages/core-components/src/layout/ContentHeader/ContentHeader.tsx index 62cb80cffa..4bda2d76af 100644 --- a/packages/core-components/src/layout/ContentHeader/ContentHeader.tsx +++ b/packages/core-components/src/layout/ContentHeader/ContentHeader.tsx @@ -31,12 +31,11 @@ const useStyles = (props: ContentHeaderProps) => flexWrap: 'wrap', justifyContent: 'flex-end', alignItems: 'center', - marginBottom: theme.spacing(1), + marginBottom: theme.spacing(2), textAlign: props.textAlign, }, leftItemsBox: { flex: '1 1 auto', - marginBottom: theme.spacing(1), minWidth: 0, overflow: 'visible', }, @@ -47,13 +46,13 @@ const useStyles = (props: ContentHeaderProps) => flexWrap: 'wrap', alignItems: 'center', marginLeft: theme.spacing(1), - marginBottom: theme.spacing(1), minWidth: 0, overflow: 'visible', }, description: {}, title: { display: 'inline-flex', + marginBottom: 0, }, }));