aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-10-03 18:28:56 +0800
committerFabio Berger <me@fabioberger.com>2018-10-03 18:28:56 +0800
commit188564a343e2d0842bf4ac435c438df81c29ca2d (patch)
treebf3add7a8cac5a7e7fc0e9522935b15018fb41b5 /packages/website/ts
parent773220f84037680b17a8eccfbaa04cd265197390 (diff)
downloaddexon-sol-tools-188564a343e2d0842bf4ac435c438df81c29ca2d.tar
dexon-sol-tools-188564a343e2d0842bf4ac435c438df81c29ca2d.tar.gz
dexon-sol-tools-188564a343e2d0842bf4ac435c438df81c29ca2d.tar.bz2
dexon-sol-tools-188564a343e2d0842bf4ac435c438df81c29ca2d.tar.lz
dexon-sol-tools-188564a343e2d0842bf4ac435c438df81c29ca2d.tar.xz
dexon-sol-tools-188564a343e2d0842bf4ac435c438df81c29ca2d.tar.zst
dexon-sol-tools-188564a343e2d0842bf4ac435c438df81c29ca2d.zip
Add padding to bottom of scroll area
Diffstat (limited to 'packages/website/ts')
-rw-r--r--packages/website/ts/pages/documentation/home.tsx10
1 files changed, 7 insertions, 3 deletions
diff --git a/packages/website/ts/pages/documentation/home.tsx b/packages/website/ts/pages/documentation/home.tsx
index 86999b8fe..320fc6af2 100644
--- a/packages/website/ts/pages/documentation/home.tsx
+++ b/packages/website/ts/pages/documentation/home.tsx
@@ -489,8 +489,7 @@ export class Home extends React.Component<HomeProps, HomeState> {
))}
</Container>
</Container>
- </div>
- <div className="mt4">
+ <Container marginTop="32px" paddingBottom="100px">
{this._renderSectionTitle(
this.props.translate.get(Key.LibrariesAndTools, Deco.CapWords),
)}
@@ -504,6 +503,7 @@ export class Home extends React.Component<HomeProps, HomeState> {
)}
</Container>
</Container>
+ </Container>
</div>
</div>
</Container>
@@ -523,7 +523,11 @@ export class Home extends React.Component<HomeProps, HomeState> {
</div>
);
});
- return <div className="pl1">{navigation}</div>;
+ return (
+ <Container paddingLeft="8px" paddingBottom="100px">
+ {navigation}
+ </Container>
+ );
}
private _renderMenuItems(links: ALink[]): React.ReactNode {
const menuItems = _.map(links, link => {