Skip to content
This repository has been archived by the owner on Nov 27, 2021. It is now read-only.

Commit

Permalink
box-shadow fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Yusuke Shibata committed Dec 4, 2017
1 parent 221ccd9 commit 875f9a1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-pullrefresh",
"version": "2.0.0",
"version": "2.0.0-alpha",
"description": "react component pull to refresh navigation",
"main": "index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/component/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const Component = styled.div`
border-radius: 20px;
width: 40px;
height: 40px;
box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
box-shadow: 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);
`

const RotatingSvg = styled.svg`
Expand Down
6 changes: 3 additions & 3 deletions src/component/index.native.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,9 @@ const Container = styled(View)`
border-radius: 20px;
width: 40px;
height: 40px;
shadow-radius: 6;
shadow-offset: { width: 0, height: 3 };
shadow-opacity: 0.23;
shadow-radius: 2;
shadow-offset: { width: 0, height: 2 };
shadow-opacity: 0.14;
shadow-color: #000;
`

Expand Down

0 comments on commit 875f9a1

Please sign in to comment.