From c2fa3b40f0b92ae7ea19456da633541b0be9eb61 Mon Sep 17 00:00:00 2001 From: Roger Hutchings Date: Thu, 5 Sep 2019 13:31:56 +0100 Subject: [PATCH] limit max-height of hero image --- .../src/screens/ProjectHomePage/components/Hero/Hero.js | 7 ++++--- .../components/Hero/components/Background/Background.js | 1 - 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/app-project/src/screens/ProjectHomePage/components/Hero/Hero.js b/packages/app-project/src/screens/ProjectHomePage/components/Hero/Hero.js index 7d07e35b4a..6f6e0366a7 100644 --- a/packages/app-project/src/screens/ProjectHomePage/components/Hero/Hero.js +++ b/packages/app-project/src/screens/ProjectHomePage/components/Hero/Hero.js @@ -11,16 +11,17 @@ import ContentBox from '../../../../shared/components/ContentBox' const StyledContentBox = styled(ContentBox)` ${props => (props.screenSize !== 'small') && ` border-color: transparent; + max-height: 763px; `} ` function Hero (props) { - const { className, screenSize, workflows } = props + const { screenSize, workflows } = props // Default to `small` layout let component = ( +