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 authored Dec 11, 2018
1 parent 303d16a commit d739c4e
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 d739c4e

Please sign in to comment.