summaryrefslogtreecommitdiffhomepage
path: root/app
diff options
context:
space:
mode:
authorAndrej Mihajlov <and@mullvad.net>2018-07-18 13:45:32 +0200
committerAndrej Mihajlov <and@mullvad.net>2018-07-18 20:06:22 +0200
commit7826ae23f583fb83742e1c2a29b3e614c1d653ac (patch)
treee1ebf019c83c1a2946a49f68776fefd4680f1267 /app
parent4ee82a1d456158635cd6998cbf087ef32fb68c41 (diff)
downloadmullvadvpn-7826ae23f583fb83742e1c2a29b3e614c1d653ac.tar.xz
mullvadvpn-7826ae23f583fb83742e1c2a29b3e614c1d653ac.zip
Keep button labels white on hover
Diffstat (limited to 'app')
-rw-r--r--app/components/AppButton.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/components/AppButton.js b/app/components/AppButton.js
index 4ce085af49..1b8f50cad2 100644
--- a/app/components/AppButton.js
+++ b/app/components/AppButton.js
@@ -15,8 +15,8 @@ class BaseButton extends Component {
state = { hovered: false };
- textStyle = () => (this.state.hovered ? styles.white80 : styles.white);
- iconStyle = () => (this.state.hovered ? styles.white80 : styles.white);
+ textStyle = () => styles.white;
+ iconStyle = () => styles.white;
backgroundStyle = () => (this.state.hovered ? styles.white80 : styles.white);
onHoverStart = () => (!this.props.disabled ? this.setState({ hovered: true }) : null);