4
1
mirror of https://github.com/Qortal/qortal-ui.git synced 2025-02-12 02:05:51 +00:00
This commit is contained in:
Phillip Lang Martinez 2023-01-03 20:34:14 -05:00
parent 486df018b1
commit ddedbad20b
2 changed files with 18 additions and 1 deletions

View File

@ -361,6 +361,23 @@ class ChatPage extends LitElement {
border-radius: 25%;
}
paper-dialog.warning {
width: 50%;
max-width: 50vw;
height: 30%;
max-height: 30vh;
text-align: center;
background-color: var(--white);
color: var(--black);
border: 1px solid var(--black);
border-radius: 15px;
line-height: 1.6;
overflow-y: auto;
}
.buttons {
text-align:right;
}
.dialogCustom {
position: fixed;
z-index: 10000;

View File

@ -545,7 +545,7 @@ class Chat extends LitElement {
};
const _computePow = async (chatBytes) => {
const difficulty = this.balance === 0 ? 12 : 8;
const difficulty = this.balance < 4 ? 18 : 8
const path = window.parent.location.origin + '/memory-pow/memory-pow.wasm.full';
const worker = new WebWorker();
let nonce = null;