Web:Common:Section: change width when section header doesnt exist

This commit is contained in:
Timofey Boyko 2022-04-04 18:31:54 +03:00
parent 4c049f9163
commit e270202bf1

View File

@ -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 };