Web:Common:Section: fix section width on login page
This commit is contained in:
parent
f4bafb03a0
commit
11bd8e524e
@ -276,6 +276,7 @@ class Section extends React.Component {
|
||||
viewAs={viewAs}
|
||||
maintenanceExist={maintenanceExist}
|
||||
isSectionBarAvailable={isSectionBarAvailable}
|
||||
isSectionHeaderAvailable={isSectionHeaderAvailable}
|
||||
>
|
||||
{!isMobile && (
|
||||
<StyledMainBar
|
||||
|
@ -83,6 +83,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