diff options
author | Fabio Berger <me@fabioberger.com> | 2018-10-02 05:25:45 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-10-02 05:25:45 +0800 |
commit | 0d57ed6c933a8332253cf673a521dddcae601872 (patch) | |
tree | 7f9a030c46eaa2a7ef41a995f07d9b89dfc42b09 /packages/website/ts/pages | |
parent | 457ed57d70c1b34b243a151f16fd3d41bfa12bb3 (diff) | |
download | dexon-sol-tools-0d57ed6c933a8332253cf673a521dddcae601872.tar dexon-sol-tools-0d57ed6c933a8332253cf673a521dddcae601872.tar.gz dexon-sol-tools-0d57ed6c933a8332253cf673a521dddcae601872.tar.bz2 dexon-sol-tools-0d57ed6c933a8332253cf673a521dddcae601872.tar.lz dexon-sol-tools-0d57ed6c933a8332253cf673a521dddcae601872.tar.xz dexon-sol-tools-0d57ed6c933a8332253cf673a521dddcae601872.tar.zst dexon-sol-tools-0d57ed6c933a8332253cf673a521dddcae601872.zip |
Rename for clarity
Diffstat (limited to 'packages/website/ts/pages')
-rw-r--r-- | packages/website/ts/pages/documentation/home.tsx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/website/ts/pages/documentation/home.tsx b/packages/website/ts/pages/documentation/home.tsx index e202ff1bc..ee118ab1e 100644 --- a/packages/website/ts/pages/documentation/home.tsx +++ b/packages/website/ts/pages/documentation/home.tsx @@ -306,7 +306,7 @@ export class Home extends React.Component<HomeProps, HomeState> { window.removeEventListener('resize', this._throttledScreenWidthUpdate); } public render(): React.ReactNode { - const mainContainerStyle: React.CSSProperties = { + const scrollableContainerStyles: React.CSSProperties = { position: 'absolute', top: 80, left: 0, @@ -351,7 +351,7 @@ export class Home extends React.Component<HomeProps, HomeState> { <DocsLogo height={36} containerStyle={{ paddingTop: 30, paddingBottom: 12 }} /> <div style={{ - ...mainContainerStyle, + ...scrollableContainerStyles, paddingTop: 35, overflow: this.state.isHoveringSidebar ? 'auto' : 'hidden', }} @@ -383,7 +383,7 @@ export class Home extends React.Component<HomeProps, HomeState> { id={sharedConstants.SCROLL_CONTAINER_ID} className="absolute" style={{ - ...mainContainerStyle, + ...scrollableContainerStyles, paddingTop: 30, paddingLeft: mainContentPadding, paddingRight: this.state.isHoveringMainContent |