Skip to content

Commit

Permalink
Fix example button hitbox
Browse files Browse the repository at this point in the history
  • Loading branch information
niklasvh committed Dec 12, 2017
1 parent 91641a3 commit 54c4002
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion www/src/components/example.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)'
}}
>
<div
Expand Down Expand Up @@ -107,6 +109,7 @@ export default class Example extends Component {
cursor: 'pointer',
transform: 'translate(-50%, -50%)',
borderRadius: '50%',
visibility: 'visible',
boxShadow:
'0 2px 2px 0 rgba(0,0,0,0.14), 0 1px 5px 0 rgba(0,0,0,0.12), 0 3px 1px -2px rgba(0,0,0,0.2)'
}}
Expand Down

0 comments on commit 54c4002

Please sign in to comment.