Skip to content

Commit

Permalink
Merge pull request #177 from airgap-it/feat/alert-scrollabel-centered
Browse files Browse the repository at this point in the history
Feat/alert scrollabel centered
  • Loading branch information
AndreasGassmann authored Mar 24, 2021
2 parents 9d610e0 + aab09d2 commit 3b5a0da
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 5 deletions.
17 changes: 15 additions & 2 deletions assets/alert/alert.css
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,21 @@

.beacon-modal__wrapper {
position: relative;
transform: translateY(-50%);
top: 50%;
top: 0;
display: inline-block;
z-index: 2147483000;
max-width: 500px;
width: 80%;
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;
Expand Down Expand Up @@ -140,13 +146,20 @@ button {

.beacon-alert__base {
position: fixed;
overflow-y: scroll;
top: 0;
left: 0;
width: 100%;
height: 100%;
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 {
Expand Down
11 changes: 11 additions & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion src/constants.ts
Original file line number Diff line number Diff line change
@@ -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'

0 comments on commit 3b5a0da

Please sign in to comment.