Skip to content

Commit

Permalink
Small stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
Swepool committed Mar 24, 2024
1 parent 9537780 commit 713a557
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 13 deletions.
13 changes: 4 additions & 9 deletions src/lib/components/updater/Updater.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
</div>
{:else if $updater.step === 2}
<div class="updater" on:click={() => $updater.step++}>
<div class="progress" style="width: 78%"></div>
<p class="percentage">78%</p>
<div class="progress" style="width: {$updater.percentageDownloaded}"></div>
<p class="percentage">{$updater.percentageDownloaded}%</p>
</div>
{:else if $updater.step === 3}
<div class="updater" style="cursor: pointer;">
Expand All @@ -27,8 +27,8 @@
align-items: center;
justify-content: center;
border-radius: 5px;
background-color: var(--button-bg-color);
border: 1px solid var(--border-color);
background-color: var(--toast-bg-color);
border: 1px solid var(--toast-b-color);
width: 180px;
height: 40px;
gap: 0.5rem;
Expand All @@ -40,11 +40,6 @@
color: var(--button-text-color);
transition: 150ms ease-in-out;
&:hover {
background-color: var(--button-hover-bg-color);
color: var(--button-hover-text-color);
}
p {
margin: 0;
}
Expand Down
3 changes: 1 addition & 2 deletions src/routes/auth/login-wallet/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,6 @@
<p class="import" on:click={() => openFromFile()}>Open another wallet</p>
{/if}
</div>
<p style="opacity: 50%">v1.0.0</p>
<input
bind:this={fileList}
Expand Down Expand Up @@ -206,7 +205,7 @@
.info {
position: absolute;
bottom: 0;
bottom: 30px;
display: flex;
flex-direction: column;
gap: 1rem;
Expand Down
4 changes: 4 additions & 0 deletions src/routes/wallet/contacts/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,10 @@
overflow-y: scroll;
width: 100%;
height: 100%;
&::-webkit-scrollbar {
display: none;
}
}
.row {
Expand Down
8 changes: 7 additions & 1 deletion src/routes/wallet/history/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,11 @@
--thumbBG: #3337;
scrollbar-width: thin;
scrollbar-color: var(--thumbBG) var(--scrollbarBG);
&::-webkit-scrollbar {
display: none;
}
}
.transactions::-webkit-scrollbar {
width: 8px;
Expand All @@ -100,11 +105,12 @@
box-sizing: border-box;
justify-content: space-between;
width: 100%;
height: 50px;
height: 52.1px;
padding: 0 2rem;
border-bottom: 1px solid var(--border-color);
&:hover {
background-color: var(--border-color);
border-bottom: 1px solid transparent;
cursor: pointer;
}
&:active {
Expand Down
4 changes: 4 additions & 0 deletions src/routes/wallet/receive/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,10 @@
overflow-y: scroll;
width: 100%;
height: 100%;
&::-webkit-scrollbar {
display: none;
}
}
.row {
Expand Down
2 changes: 1 addition & 1 deletion src/routes/wallet/settings/node/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<div class="gird">
<div>
<h4>Node</h4>
<h3>{$node.selectedNode.url}</h3>
<h3>{$node.selectedNode.url ?? ''}</h3>
</div>
<div>
<h4>Wallet height</h4>
Expand Down

0 comments on commit 713a557

Please sign in to comment.