Move Filter in a Button with Icon

Fix SupportButton flex layout

Signed-off-by: Philipp Hugenroth <philipph@spotify.com>
This commit is contained in:
Philipp Hugenroth
2021-07-14 12:09:58 +02:00
parent f3b58ecd8e
commit 22e0b4fce4
6 changed files with 45 additions and 64 deletions
@@ -100,9 +100,8 @@ export const SupportButton = ({ title, children }: SupportButtonProps) => {
color="primary"
onClick={onClickHandler}
>
<Box marginRight={1}>
<HelpIcon />
</Box>
<HelpIcon />
<Box mr={1} />
Support
</Button>
<Popover
@@ -62,7 +62,7 @@ type DefaultTitleProps = {
className?: string;
};
export const ContentHeaderTitle = ({
const ContentHeaderTitle = ({
title = 'Unknown page',
className,
}: DefaultTitleProps) => (