Skip to content

Commit

Permalink
fix(UI): Better look and feel
Browse files Browse the repository at this point in the history
  • Loading branch information
jourdain committed May 30, 2017
1 parent 76af8c3 commit e845e3c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
Binary file added src/dropBG.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 7 additions & 1 deletion src/helper.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import dropBG from './dropBG.jpg';

const STYLES = {
fullScreen: {
position: 'absolute',
Expand All @@ -23,7 +25,11 @@ const STYLES = {
left: '50%',
top: '50%',
transform: 'translate(-50%, -50%)',
background: 'lightgray',
backgroundColor: 'white',
backgroundImage: `url(${dropBG})`,
backgroundRepeat: 'no-repeat',
backgroundPosition: 'center',
backgroundSize: 'contain',
borderRadius: '10px',
width: '300px',
padding: 'calc(50vh - 2em) calc(50vw - 150px - 1em)',
Expand Down

0 comments on commit e845e3c

Please sign in to comment.