From 54c4002df71a28fbe0546451b511e18beb7d8939 Mon Sep 17 00:00:00 2001 From: Niklas von Hertzen Date: Tue, 12 Dec 2017 23:58:09 +0800 Subject: [PATCH] Fix example button hitbox --- www/src/components/example.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/www/src/components/example.js b/www/src/components/example.js index 54fac8349..2d5feaa57 100644 --- a/www/src/components/example.js +++ b/www/src/components/example.js @@ -66,7 +66,9 @@ export default class Example extends Component { position: 'fixed', zIndex: '1000', right: '-348.4px', - bottom: '-327.2px' + bottom: '-327.2px', + visibility: this.state.open ? 'visible' : 'hidden', + transition: 'visibility 0.3s cubic-bezier(0.42, 0, 0.58, 1)' }} >