UX improvements and bug fixes
This commit is contained in:
parent
25bdc61d80
commit
dc5dd3c432
14
index.html
14
index.html
@ -633,7 +633,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<sm-switch id="flo_id_visibility_switcher" class="w-100">
|
<sm-switch id="flo_id_visibility_switcher" class="w-100">
|
||||||
<div class="flex flex-direction-column gap-0-3" slot="left">
|
<div class="flex flex-direction-column gap-0-3 margin-right-0-5" slot="left">
|
||||||
<b>Hide address</b>
|
<b>Hide address</b>
|
||||||
<p>
|
<p>
|
||||||
Don't show my address on header. *Only applies to this device.
|
Don't show my address on header. *Only applies to this device.
|
||||||
@ -1203,14 +1203,20 @@
|
|||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</header>
|
</header>
|
||||||
<div class="grid gap-0-5 justify-center text-center">
|
<div class="grid gap-2">
|
||||||
<svg class="icon user-action-result__icon success" xmlns="http://www.w3.org/2000/svg" height="24px"
|
<svg class="icon user-action-result__icon success" xmlns="http://www.w3.org/2000/svg" height="24px"
|
||||||
viewBox="0 0 24 24" width="24px" fill="#000000">
|
viewBox="0 0 24 24" width="24px" fill="#000000">
|
||||||
<path d="M0 0h24v24H0V0z" fill="none" />
|
<path d="M0 0h24v24H0V0z" fill="none" />
|
||||||
<path d="M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z" />
|
<path d="M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z" />
|
||||||
</svg>
|
</svg>
|
||||||
<h4>Transaction sent</h4>
|
<div class="grid gap-0-5 justify-center text-center">
|
||||||
<sm-copy id="txid"></sm-copy>
|
<h4>Transaction sent</h4>
|
||||||
|
<p>Confirmation of transaction might take few hours. </p>
|
||||||
|
</div>
|
||||||
|
<div class="grid">
|
||||||
|
<span class="label">Transaction ID</span>
|
||||||
|
<sm-copy id="txid"></sm-copy>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</sm-popup>
|
</sm-popup>
|
||||||
<sm-popup id="change_cashier_upi_popup">
|
<sm-popup id="change_cashier_upi_popup">
|
||||||
|
|||||||
@ -196,7 +196,7 @@ customElements.define('sm-form', class extends HTMLElement {
|
|||||||
this.submitButton.disabled = this.invalidFields.length;
|
this.submitButton.disabled = this.invalidFields.length;
|
||||||
}
|
}
|
||||||
handleKeydown(e) {
|
handleKeydown(e) {
|
||||||
if (e.key === 'Enter' && !e.target.tagName.includes('TEXTAREA')) {
|
if (e.key === 'Enter' && e.target.tagName.includes('SM-INPUT')) {
|
||||||
if (!this.invalidFields.length) {
|
if (!this.invalidFields.length) {
|
||||||
if (this.submitButton) {
|
if (this.submitButton) {
|
||||||
this.submitButton.click()
|
this.submitButton.click()
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user