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,26 +119,26 @@ export class DevelopersDropDown extends React.Component<DevelopersDropDownProps,
<div>{this._renderLinkSection(usefulLinksToLinkInfo)}</div> <div>{this._renderLinkSection(usefulLinksToLinkInfo)}</div>
</div> </div>
</div> </div>
<div <Link
to={WebsitePaths.Docs}
style={{ style={{
padding: '0.8rem', color: colors.lightBlueA700,
textAlign: 'center', fontWeight: 'bold',
backgroundColor: colors.lightBgGrey, fontSize: 14,
borderBottomLeftRadius: 4,
borderBottomRightRadius: 4,
}} }}
> >
<Link <div
to={WebsitePaths.Docs}
style={{ style={{
color: colors.lightBlueA700, padding: '0.8rem',
fontWeight: 'bold', textAlign: 'center',
fontSize: 14, backgroundColor: colors.lightBgGrey,
borderBottomLeftRadius: 4,
borderBottomRightRadius: 4,
}} }}
> >
{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;