mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Footer: Fixes layout issue in footer (#30443)
* Footer: Fixes missing icon issue causing footer layout issue * Another fix
This commit is contained in:
parent
59ef36812e
commit
5c8d662bfc
@ -65,8 +65,8 @@ const InterpolationStepAfter: FC<SvgProps> = ({ size, ...rest }) => {
|
||||
);
|
||||
};
|
||||
|
||||
const IconNotFound: FC<SvgProps> = ({ ...rest }) => {
|
||||
return <svg {...rest} />;
|
||||
const IconNotFound: FC<SvgProps> = ({ size, ...rest }) => {
|
||||
return <svg width={size} height={size} {...rest} />;
|
||||
};
|
||||
|
||||
export const customIcons: Record<string, ComponentType<SvgProps>> = {
|
||||
|
@ -75,7 +75,7 @@ export const Footer: FC = React.memo(() => {
|
||||
{links.map((link) => (
|
||||
<li key={link.text}>
|
||||
<a href={link.url} target={link.target} rel="noopener">
|
||||
<Icon name={link.icon as IconName} /> {link.text}
|
||||
{link.icon && <Icon name={link.icon as IconName} />} {link.text}
|
||||
</a>
|
||||
</li>
|
||||
))}
|
||||
|
Loading…
Reference in New Issue
Block a user