Add functionality to the CryptApp to make it update/display the current difficulty, and rerender when it changes.
This commit is contained in:
parent
495dafaf12
commit
31033017f7
11 changed files with 125 additions and 11 deletions
|
|
@ -1,7 +1,7 @@
|
|||
:host {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
--vertical-displacement: 10px;
|
||||
--vertical-displacement: 12.5px;
|
||||
}
|
||||
|
||||
.rc-border {
|
||||
|
|
@ -18,7 +18,7 @@
|
|||
border-radius: 8px;
|
||||
position: relative;
|
||||
margin-top: var(--margin-top, var(--vertical-displacement));
|
||||
padding-top: var(--padding-top, var(--vertical-displacement));
|
||||
padding-top: var(--padding-top, calc(var(--vertical-displacement) + 4px));
|
||||
|
||||
&::before {
|
||||
display: block;
|
||||
|
|
@ -60,5 +60,6 @@
|
|||
max-width: 75%;
|
||||
min-width: 50px;
|
||||
border-radius: 4px;
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@
|
|||
--alt-row-background: var(--accent-2);
|
||||
|
||||
--input-underline: 2px dashed var(--accent-3);
|
||||
--input-background: inherit;
|
||||
--input-background: var(--accent-2);
|
||||
--input-text: white;
|
||||
--input-placeholder-text: rgba(255,255,255, 0.5);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue