diff --git a/assets/alert/alert.css b/assets/alert/alert.css index 3786add6e..8ca890a77 100644 --- a/assets/alert/alert.css +++ b/assets/alert/alert.css @@ -35,8 +35,7 @@ .beacon-modal__wrapper { position: relative; - transform: translateY(-50%); - top: 50%; + top: 0; display: inline-block; z-index: 2147483000; max-width: 500px; @@ -44,6 +43,13 @@ padding: 24px; } +@media (min-height: 700px) { + .beacon-modal__wrapper { + top: 50%; + transform: translateY(-50%); + } +} + .theme__light .beacon-modal__base, .theme__light .beacon-modal__close__wrapper { background: #fff; @@ -140,6 +146,7 @@ button { .beacon-alert__base { position: fixed; + overflow-y: scroll; top: 0; left: 0; width: 100%; @@ -147,6 +154,12 @@ button { z-index: 2147482999; background-color: rgb(17 17 17 / 0.84); text-align: center; + -ms-overflow-style: none; + scrollbar-width: none; +} + +.beacon-alert__base::-webkit-scrollbar { + display: none; } .beacon-alert__title { diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 1860a9e04..b3c866cc2 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -1,5 +1,16 @@ # Changelog +## 2.2.2 (2021-03-03) + +#### Features + +- **temple**: Rename "Thanos" to "Temple" +- **kukai**: Add edonet URL + +#### Fixes + +- **error**: Fix removing of dom element that would result in an error + ## 2.2.1 (2021-02-08) #### Fixes diff --git a/package-lock.json b/package-lock.json index b8b704003..f921ea711 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "@airgap/beacon-sdk", - "version": "2.2.2", + "version": "2.2.3", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 8a1434ede..c27a648e6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@airgap/beacon-sdk", - "version": "2.2.2", + "version": "2.2.3", "description": "The beacon-sdk allows you to easily connect DApps with Wallets through P2P communication or a chrome extension.", "main": "dist/cjs/index.js", "module": "dist/esm/index.js", diff --git a/src/constants.ts b/src/constants.ts index 375775d79..0f4a5cfdd 100644 --- a/src/constants.ts +++ b/src/constants.ts @@ -1,2 +1,2 @@ -export const SDK_VERSION: string = '2.2.2' +export const SDK_VERSION: string = '2.2.3' export const BEACON_VERSION: string = '2'