mirror of
https://github.com/danbee/chess
synced 2025-03-04 08:39:06 +00:00
Some cleanup
This commit is contained in:
parent
ba0c1c5f47
commit
bab4520f86
@ -13,6 +13,7 @@
|
|||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
display: block;
|
display: block;
|
||||||
padding: $small-spacing / 3 $base-spacing / 2;
|
padding: $small-spacing / 3 $base-spacing / 2;
|
||||||
|
text-decoration: none;
|
||||||
|
|
||||||
&:hover,
|
&:hover,
|
||||||
&:focus {
|
&:focus {
|
||||||
|
|||||||
@ -61,7 +61,6 @@ class OpponentFinder extends React.Component {
|
|||||||
|
|
||||||
handleKeyPress(event) {
|
handleKeyPress(event) {
|
||||||
if (this.isKeyingDown(event)) { this.focusNextOpponent(); }
|
if (this.isKeyingDown(event)) { this.focusNextOpponent(); }
|
||||||
|
|
||||||
if (this.isKeyingUp(event)) { this.focusPreviousOpponent(); }
|
if (this.isKeyingUp(event)) { this.focusPreviousOpponent(); }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user