Web: Common: fixed PageLayout section-body padding
This commit is contained in:
parent
bc647d9c3d
commit
f8eec21893
@ -15,11 +15,11 @@ const StyledSectionBody = styled.div`
|
|||||||
`;
|
`;
|
||||||
|
|
||||||
const StyledSectionWrapper = styled.div`
|
const StyledSectionWrapper = styled.div`
|
||||||
padding: 0px 8px 16px 24px;
|
padding: 16px 8px 16px 24px;
|
||||||
outline: none;
|
outline: none;
|
||||||
|
|
||||||
@media ${tablet} {
|
@media ${tablet} {
|
||||||
padding: 0px 0 16px 24px;
|
padding: 16px 0 16px 24px;
|
||||||
}
|
}
|
||||||
`;
|
`;
|
||||||
|
|
||||||
@ -58,7 +58,7 @@ class SectionBody extends React.Component {
|
|||||||
<StyledSectionBody withScroll={withScroll}>
|
<StyledSectionBody withScroll={withScroll}>
|
||||||
{withScroll ? (
|
{withScroll ? (
|
||||||
<Scrollbar stype="mediumBlack">
|
<Scrollbar stype="mediumBlack">
|
||||||
<StyledSectionWrapper {...focusProps}>
|
<StyledSectionWrapper className="sectionWrapper" {...focusProps}>
|
||||||
{children}
|
{children}
|
||||||
<StyledSpacer pinned={pinned}/>
|
<StyledSpacer pinned={pinned}/>
|
||||||
</StyledSectionWrapper>
|
</StyledSectionWrapper>
|
||||||
|
Loading…
Reference in New Issue
Block a user