Make whole bottom bar clickable not just the text

This commit is contained in:
Fabio Berger
2018-10-03 14:37:49 +01:00
parent 6d8427a024
commit 688325491f

View File

@@ -119,6 +119,14 @@ export class DevelopersDropDown extends React.Component<DevelopersDropDownProps,
<div>{this._renderLinkSection(usefulLinksToLinkInfo)}</div> <div>{this._renderLinkSection(usefulLinksToLinkInfo)}</div>
</div> </div>
</div> </div>
<Link
to={WebsitePaths.Docs}
style={{
color: colors.lightBlueA700,
fontWeight: 'bold',
fontSize: 14,
}}
>
<div <div
style={{ style={{
padding: '0.8rem', padding: '0.8rem',
@@ -127,18 +135,10 @@ export class DevelopersDropDown extends React.Component<DevelopersDropDownProps,
borderBottomLeftRadius: 4, borderBottomLeftRadius: 4,
borderBottomRightRadius: 4, borderBottomRightRadius: 4,
}} }}
>
<Link
to={WebsitePaths.Docs}
style={{
color: colors.lightBlueA700,
fontWeight: 'bold',
fontSize: 14,
}}
> >
{this.props.translate.get(Key.ViewAllDocumentation, Deco.Upper)} {this.props.translate.get(Key.ViewAllDocumentation, Deco.Upper)}
</Link>
</div> </div>
</Link>
</div> </div>
); );
return dropdownMenu; return dropdownMenu;