diff options
author | Fabio Berger <me@fabioberger.com> | 2018-10-12 23:42:41 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-10-12 23:42:41 +0800 |
commit | 3ca943948184bf8d891dddb423e5b285d2463e7b (patch) | |
tree | 8ebaea53cbaabe2b871dc5719b7722ecc0c56f8d /packages/website/ts/containers/sol_cov_documentation.ts | |
parent | 36f202f7b439630e95fc28c6b928d605311676d2 (diff) | |
download | dexon-sol-tools-3ca943948184bf8d891dddb423e5b285d2463e7b.tar dexon-sol-tools-3ca943948184bf8d891dddb423e5b285d2463e7b.tar.gz dexon-sol-tools-3ca943948184bf8d891dddb423e5b285d2463e7b.tar.bz2 dexon-sol-tools-3ca943948184bf8d891dddb423e5b285d2463e7b.tar.lz dexon-sol-tools-3ca943948184bf8d891dddb423e5b285d2463e7b.tar.xz dexon-sol-tools-3ca943948184bf8d891dddb423e5b285d2463e7b.tar.zst dexon-sol-tools-3ca943948184bf8d891dddb423e5b285d2463e7b.zip |
Make all doc reference pages responsive
Diffstat (limited to 'packages/website/ts/containers/sol_cov_documentation.ts')
-rw-r--r-- | packages/website/ts/containers/sol_cov_documentation.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/website/ts/containers/sol_cov_documentation.ts b/packages/website/ts/containers/sol_cov_documentation.ts index c8dc5f473..f9c428f8e 100644 --- a/packages/website/ts/containers/sol_cov_documentation.ts +++ b/packages/website/ts/containers/sol_cov_documentation.ts @@ -5,7 +5,7 @@ import { Dispatch } from 'redux'; import { DocPage as DocPageComponent, DocPageProps } from 'ts/pages/documentation/doc_page'; import { Dispatcher } from 'ts/redux/dispatcher'; import { State } from 'ts/redux/reducer'; -import { DocPackages } from 'ts/types'; +import { DocPackages, ScreenWidths } from 'ts/types'; import { Translate } from 'ts/utils/translate'; /* tslint:disable:no-var-requires */ @@ -45,6 +45,7 @@ interface ConnectedState { availableDocVersions: string[]; docsInfo: DocsInfo; translate: Translate; + screenWidth: ScreenWidths; } interface ConnectedDispatch { @@ -56,6 +57,7 @@ const mapStateToProps = (state: State, _ownProps: DocPageProps): ConnectedState availableDocVersions: state.availableDocVersions, translate: state.translate, docsInfo, + screenWidth: state.screenWidth, }); const mapDispatchToProps = (dispatch: Dispatch<State>): ConnectedDispatch => ({ |