From 69480a7bb2572dbfbb2bab5538ffef5c70c0fb6b Mon Sep 17 00:00:00 2001 From: Nisar Hassan Naqvi Date: Tue, 5 Jan 2021 13:59:45 +0000 Subject: [PATCH] make stuff valid in accordance to W3C. Fixes gitpod-io/website#842 --- src/components/TrustedBy.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/TrustedBy.tsx b/src/components/TrustedBy.tsx index a1f8ad753..d3820c4da 100644 --- a/src/components/TrustedBy.tsx +++ b/src/components/TrustedBy.tsx @@ -78,7 +78,7 @@ const StyledTrustedBy = styled.section` } ` -const StyledBrandImage = styled.img<{ transform?: string }>` +const StyledBrandImage = styled.img<{ transformValue?: string }>` width: 9.5rem; @media(max-width: ${sizes.breakpoints.lg}) { @@ -90,7 +90,7 @@ const StyledBrandImage = styled.img<{ transform?: string }>` } @media(min-width: calc(${sizes.breakpoints.lg} + 1px)) { - transform: ${({ transform }) => (transform ? transform : 'none')}; + transform: ${({ transformValue }) => (transformValue ? transformValue : 'none')}; } ` @@ -117,7 +117,7 @@ const TrustedBy = ({ brands, title, styles }: TrustedByProps) => (
{brands.map((b: Brand) => ( - + ))}