Skip to content

Commit

Permalink
Fixed #2 issue
Browse files Browse the repository at this point in the history
  • Loading branch information
pfrankov committed Oct 25, 2017
1 parent 6bc2e77 commit 04fe8cf
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ npm install --save iphone-x-notch

#### CDN
```html
<link rel="stylesheet" href="//cdn.rawgit.com/pfrankov/iphone-x-notch/v2.1.0/iphone-x-notch.css"/>
<link rel="stylesheet" href="//cdn.rawgit.com/pfrankov/iphone-x-notch/v2.2.0/iphone-x-notch.css"/>
```

#### Bookmarklet
```js
javascript:(link=>{link.rel='stylesheet';link.href='//cdn.rawgit.com/pfrankov/iphone-x-notch/v2.1.0/iphone-x-notch.css';document.body.appendChild(link)})(document.createElement('link'))
javascript:(link=>{link.rel='stylesheet';link.href='//cdn.rawgit.com/pfrankov/iphone-x-notch/v2.2.0/iphone-x-notch.css';document.body.appendChild(link)})(document.createElement('link'))
```

#### Import to your code
Expand Down
2 changes: 1 addition & 1 deletion iphone-x-notch.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
width: 3.76vw;
height: 54.34vh;
background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1MS4yMiAzNzAuMzIiPjxwYXRoIGQ9Ik0wLDcuNzVWMzcwLjMyYTcuNzUsNy43NSwwLDAsMSw3Ljc1LTcuNzVIMTNjMTgsMCwzOC4yNy0xMi44MSwzOC4yNy00Ni4zOXYtMjYyQzUxLjIyLDIwLjU2LDMwLjkzLDcuNzUsMTMsNy43NUg3Ljc1QTcuNzUsNy43NSwwLDAsMSwwLDBaIi8+PC9zdmc+);
background-size: 3.76vw 54.34vh;
background-size: auto;
background-repeat: no-repeat;
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "iphone-x-notch",
"version": "2.1.0",
"version": "2.2.0",
"description": "Gorgeus iPhone X notch",
"main": "iphone-x-notch.css",
"author": {
Expand Down

0 comments on commit 04fe8cf

Please sign in to comment.