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`
|
||||
padding: 0px 8px 16px 24px;
|
||||
padding: 16px 8px 16px 24px;
|
||||
outline: none;
|
||||
|
||||
@media ${tablet} {
|
||||
padding: 0px 0 16px 24px;
|
||||
padding: 16px 0 16px 24px;
|
||||
}
|
||||
`;
|
||||
|
||||
@ -58,7 +58,7 @@ class SectionBody extends React.Component {
|
||||
<StyledSectionBody withScroll={withScroll}>
|
||||
{withScroll ? (
|
||||
<Scrollbar stype="mediumBlack">
|
||||
<StyledSectionWrapper {...focusProps}>
|
||||
<StyledSectionWrapper className="sectionWrapper" {...focusProps}>
|
||||
{children}
|
||||
<StyledSpacer pinned={pinned}/>
|
||||
</StyledSectionWrapper>
|
||||
|
Loading…
Reference in New Issue
Block a user