Web:Common:Section: change width when section header doesnt exist
This commit is contained in:
parent
4c049f9163
commit
e270202bf1
@ -79,6 +79,14 @@ const StyledSectionContainer = styled.section`
|
||||
right: 15px;
|
||||
bottom: 83px;
|
||||
}
|
||||
|
||||
${(props) =>
|
||||
!props.isSectionHeaderAvailable &&
|
||||
css`
|
||||
width: 100vw !important;
|
||||
max-width: 100vw !important;
|
||||
box-sizing: border-box;
|
||||
`}
|
||||
`;
|
||||
|
||||
StyledSectionContainer.defaultProps = { theme: Base };
|
||||
|
Loading…
Reference in New Issue
Block a user