Skip to content

Commit

Permalink
Make space selector a button (elastic#26889)
Browse files Browse the repository at this point in the history
  • Loading branch information
timroes committed Dec 11, 2018
1 parent bd110ce commit 2e29b3d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@
.global-nav-link__anchor {
display: block;
height: 100%;
width: 100%;
line-height: inherit;
color: @globalColorWhite;

&:focus, &:hover {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ export class SpacesGlobalNavButton extends Component<ButtonProps> {
public render() {
return (
<div className="global-nav-link">
<a className="global-nav-link__anchor" onClick={this.props.toggleSpaceSelector}>
<button className="global-nav-link__anchor" onClick={this.props.toggleSpaceSelector}>
<div className="global-nav-link__icon"> {this.props.linkIcon} </div>
<div className="global-nav-link__title"> {this.props.linkTitle} </div>
</a>
</button>
</div>
);
}
Expand Down

0 comments on commit 2e29b3d

Please sign in to comment.