aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-10-19 20:27:16 +0800
committerFabio Berger <me@fabioberger.com>2018-10-19 20:27:16 +0800
commit977e20edc3d94e2b95cf6e1e82eecdde2311eb7f (patch)
tree15e0019ab6f4a9e65852eeafe3446b6ca305a1e1 /packages/website/ts
parent17643d98aae596f896039459afbc1ce3df51a073 (diff)
downloaddexon-sol-tools-977e20edc3d94e2b95cf6e1e82eecdde2311eb7f.tar
dexon-sol-tools-977e20edc3d94e2b95cf6e1e82eecdde2311eb7f.tar.gz
dexon-sol-tools-977e20edc3d94e2b95cf6e1e82eecdde2311eb7f.tar.bz2
dexon-sol-tools-977e20edc3d94e2b95cf6e1e82eecdde2311eb7f.tar.lz
dexon-sol-tools-977e20edc3d94e2b95cf6e1e82eecdde2311eb7f.tar.xz
dexon-sol-tools-977e20edc3d94e2b95cf6e1e82eecdde2311eb7f.tar.zst
dexon-sol-tools-977e20edc3d94e2b95cf6e1e82eecdde2311eb7f.zip
style: make sure sideBar bottom padding is on scrollable content, not container
Diffstat (limited to 'packages/website/ts')
-rw-r--r--packages/website/ts/pages/documentation/developers_page.tsx5
1 files changed, 3 insertions, 2 deletions
diff --git a/packages/website/ts/pages/documentation/developers_page.tsx b/packages/website/ts/pages/documentation/developers_page.tsx
index 30b79552f..401f65df3 100644
--- a/packages/website/ts/pages/documentation/developers_page.tsx
+++ b/packages/website/ts/pages/documentation/developers_page.tsx
@@ -72,7 +72,6 @@ const SidebarContainer =
`
${scrollableContainerStyles}
padding-top: 27px;
- padding-bottom: 100px;
padding-left: ${SIDEBAR_PADDING}px;
padding-right: ${SIDEBAR_PADDING}px;
overflow: hidden;
@@ -163,7 +162,9 @@ export class DevelopersPage extends React.Component<DevelopersPageProps, Develop
</Container>
</Container>
<SidebarContainer onWheel={this._throttledSidebarScrolling}>
- {this.props.screenWidth !== ScreenWidths.Sm && this.props.sidebar}
+ <Container paddingBottom="100px">
+ {this.props.screenWidth !== ScreenWidths.Sm && this.props.sidebar}
+ </Container>
</SidebarContainer>
</Container>
<Container