diff --git a/README.md b/README.md index 03b141f..525eaf9 100644 --- a/README.md +++ b/README.md @@ -15,12 +15,12 @@ npm install --save iphone-x-notch #### CDN ```html - + ``` #### 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 diff --git a/iphone-x-notch.css b/iphone-x-notch.css index 5c819ce..ec9dc29 100644 --- a/iphone-x-notch.css +++ b/iphone-x-notch.css @@ -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; } } \ No newline at end of file diff --git a/package.json b/package.json index f7a7307..c33c2ef 100644 --- a/package.json +++ b/package.json @@ -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": {