aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-10-03 21:37:49 +0800
committerFabio Berger <me@fabioberger.com>2018-10-03 21:37:49 +0800
commit688325491fd9549c81ea65a4ad95fa42c2589927 (patch)
tree501035215939df68a9a4c1d246f5fcaad3aae059 /packages/website/ts
parent6d8427a024d0175c4e0305503321b4169ff9ce05 (diff)
downloaddexon-sol-tools-688325491fd9549c81ea65a4ad95fa42c2589927.tar.gz
dexon-sol-tools-688325491fd9549c81ea65a4ad95fa42c2589927.tar.zst
dexon-sol-tools-688325491fd9549c81ea65a4ad95fa42c2589927.zip
Make whole bottom bar clickable not just the text
Diffstat (limited to 'packages/website/ts')
-rw-r--r--packages/website/ts/components/dropdowns/developers_drop_down.tsx26
1 files changed, 13 insertions, 13 deletions
diff --git a/packages/website/ts/components/dropdowns/developers_drop_down.tsx b/packages/website/ts/components/dropdowns/developers_drop_down.tsx
index a314f0f54..af0ae825c 100644
--- a/packages/website/ts/components/dropdowns/developers_drop_down.tsx
+++ b/packages/website/ts/components/dropdowns/developers_drop_down.tsx
@@ -119,26 +119,26 @@ export class DevelopersDropDown extends React.Component<DevelopersDropDownProps,
<div>{this._renderLinkSection(usefulLinksToLinkInfo)}</div>
</div>
</div>
- <div
+ <Link
+ to={WebsitePaths.Docs}
style={{
- padding: '0.8rem',
- textAlign: 'center',
- backgroundColor: colors.lightBgGrey,
- borderBottomLeftRadius: 4,
- borderBottomRightRadius: 4,
+ color: colors.lightBlueA700,
+ fontWeight: 'bold',
+ fontSize: 14,
}}
>
- <Link
- to={WebsitePaths.Docs}
+ <div
style={{
- color: colors.lightBlueA700,
- fontWeight: 'bold',
- fontSize: 14,
+ padding: '0.8rem',
+ textAlign: 'center',
+ backgroundColor: colors.lightBgGrey,
+ borderBottomLeftRadius: 4,
+ borderBottomRightRadius: 4,
}}
>
{this.props.translate.get(Key.ViewAllDocumentation, Deco.Upper)}
- </Link>
- </div>
+ </div>
+ </Link>
</div>
);
return dropdownMenu;