diff options
author | Fabio Berger <me@fabioberger.com> | 2018-10-05 20:54:37 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-10-05 20:54:37 +0800 |
commit | 5f2cd33da07a7acc65f2e05acb35755f74af75a4 (patch) | |
tree | 13a3453c5104357568b70f4fec6f124dcbb492b9 /packages/website/ts/components/documentation | |
parent | e0355a2e395fc056fd1d5c5e1780784853546acd (diff) | |
download | dexon-sol-tools-5f2cd33da07a7acc65f2e05acb35755f74af75a4.tar dexon-sol-tools-5f2cd33da07a7acc65f2e05acb35755f74af75a4.tar.gz dexon-sol-tools-5f2cd33da07a7acc65f2e05acb35755f74af75a4.tar.bz2 dexon-sol-tools-5f2cd33da07a7acc65f2e05acb35755f74af75a4.tar.lz dexon-sol-tools-5f2cd33da07a7acc65f2e05acb35755f74af75a4.tar.xz dexon-sol-tools-5f2cd33da07a7acc65f2e05acb35755f74af75a4.tar.zst dexon-sol-tools-5f2cd33da07a7acc65f2e05acb35755f74af75a4.zip |
Remove style prop from Link
Diffstat (limited to 'packages/website/ts/components/documentation')
-rw-r--r-- | packages/website/ts/components/documentation/docs_logo.tsx | 8 | ||||
-rw-r--r-- | packages/website/ts/components/documentation/docs_top_bar.tsx | 6 |
2 files changed, 7 insertions, 7 deletions
diff --git a/packages/website/ts/components/documentation/docs_logo.tsx b/packages/website/ts/components/documentation/docs_logo.tsx index 6f3c3c6e8..b727fea36 100644 --- a/packages/website/ts/components/documentation/docs_logo.tsx +++ b/packages/website/ts/components/documentation/docs_logo.tsx @@ -9,11 +9,9 @@ export interface DocsLogoProps { export const DocsLogo: React.StatelessComponent<DocsLogoProps> = props => { return ( - <div style={props.containerStyle}> - <Link to={WebsitePaths.Docs}> - <img src="/images/docs_logo.svg" height={props.height} /> - </Link> - </div> + <Link to={WebsitePaths.Docs}> + <img src="/images/docs_logo.svg" height={props.height} /> + </Link> ); }; diff --git a/packages/website/ts/components/documentation/docs_top_bar.tsx b/packages/website/ts/components/documentation/docs_top_bar.tsx index 3fea1c714..0b563a76b 100644 --- a/packages/website/ts/components/documentation/docs_top_bar.tsx +++ b/packages/website/ts/components/documentation/docs_top_bar.tsx @@ -68,7 +68,7 @@ export class DocsTopBar extends React.Component<DocsTopBarProps, DocsTopBarState <Container className="col col-2 sm-hide xs-hide"> <Link to={WebsitePaths.Home} - style={{ color: colors.linkSectionGrey }} + fontColor={colors.linkSectionGrey} className="flex items-center text-decoration-none" > <i className="zmdi zmdi-chevron-left bold" style={{ fontSize: 16 }} /> @@ -86,7 +86,9 @@ export class DocsTopBar extends React.Component<DocsTopBarProps, DocsTopBarState </Container> </Container> <Container className="lg-hide md-hide"> - <DocsLogo height={30} containerStyle={{ paddingTop: 6, paddingLeft: 18 }} /> + <Container paddingTop="6px" paddingLeft="18px"> + <DocsLogo height={30} /> + </Container> </Container> <Container className="md-hide lg-hide absolute" right="18px" top="12px"> <i |