Improve spam protection settings spacing and input type
Some checks failed
check / check (push) Has been cancelled

Add more vertical spacing between checkboxes in the Token Spam
Protection well. Change the gwei threshold from a number input
(with spinner arrows) to a plain text input with numeric keyboard
hint.
This commit is contained in:
2026-02-26 15:31:59 +07:00
parent 9a6d1f6255
commit 69311f4444

View File

@@ -551,13 +551,13 @@
tokens.
</p>
<label
class="text-xs flex items-center gap-1 cursor-pointer mb-1"
class="text-xs flex items-center gap-1 cursor-pointer mb-2"
>
<input type="checkbox" id="settings-hide-low-holders" />
Hide tokens with fewer than 1,000 holders
</label>
<label
class="text-xs flex items-center gap-1 cursor-pointer"
class="text-xs flex items-center gap-1 cursor-pointer mb-2"
>
<input
type="checkbox"
@@ -566,18 +566,18 @@
Hide transactions from detected fraud contracts
</label>
<label
class="text-xs flex items-center gap-1 cursor-pointer mt-1"
class="text-xs flex items-center gap-1 cursor-pointer mb-1"
>
<input type="checkbox" id="settings-hide-dust" />
Hide dust transactions below
</label>
<div class="flex items-center gap-1 mt-1">
<div class="flex items-center gap-1">
<input
type="number"
type="text"
inputmode="numeric"
id="settings-dust-threshold"
class="border border-border p-1 text-xs bg-bg text-fg"
style="width: 10ch"
min="0"
/>
<span class="text-xs text-muted">gwei</span>
</div>