diff --git a/airbyte-webapp/src/utils/imageUtils.tsx b/airbyte-webapp/src/utils/imageUtils.tsx index 7dcb5671c8efa..f64222ada8df7 100644 --- a/airbyte-webapp/src/utils/imageUtils.tsx +++ b/airbyte-webapp/src/utils/imageUtils.tsx @@ -3,12 +3,9 @@ import styled from "styled-components"; import { DefaultLogoCatalog } from "components"; -const IconContainer = styled.div` +const IconContainer = styled.img` height: 100%; - & > svg { - height: 100%; - width: 100%; - } + width: 100%; `; const IconDefaultContainer = styled.div` @@ -24,5 +21,10 @@ export const getIcon = (icon?: string): React.ReactNode => { ); } - return ; + return ( + + ); };