From 5c8d662bfce3ab5cce134efdf7963bd0623ad433 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Thu, 21 Jan 2021 13:01:20 +0100 Subject: [PATCH] Footer: Fixes layout issue in footer (#30443) * Footer: Fixes missing icon issue causing footer layout issue * Another fix --- packages/grafana-ui/src/components/Icon/custom/index.tsx | 4 ++-- public/app/core/components/Footer/Footer.tsx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/grafana-ui/src/components/Icon/custom/index.tsx b/packages/grafana-ui/src/components/Icon/custom/index.tsx index e655488edb9..7a3637e0094 100644 --- a/packages/grafana-ui/src/components/Icon/custom/index.tsx +++ b/packages/grafana-ui/src/components/Icon/custom/index.tsx @@ -65,8 +65,8 @@ const InterpolationStepAfter: FC = ({ size, ...rest }) => { ); }; -const IconNotFound: FC = ({ ...rest }) => { - return ; +const IconNotFound: FC = ({ size, ...rest }) => { + return ; }; export const customIcons: Record> = { diff --git a/public/app/core/components/Footer/Footer.tsx b/public/app/core/components/Footer/Footer.tsx index 2637dcfef3f..5b7be702bd2 100644 --- a/public/app/core/components/Footer/Footer.tsx +++ b/public/app/core/components/Footer/Footer.tsx @@ -75,7 +75,7 @@ export const Footer: FC = React.memo(() => { {links.map((link) => (
  • - {link.text} + {link.icon && } {link.text}
  • ))}