diff --git a/components.js b/components.js index 863d5cb..bbc5e33 100644 --- a/components.js +++ b/components.js @@ -2167,6 +2167,16 @@ box-shadow: 0 0.1rem 0.2rem rgba(0, 0, 0, 0.1), background: rgba(var(--foreground-color), 1); transition: height 0.3s, transform 0.3s, opacity 0.3s; overflow: hidden; +overflow-wrap: break-word; +word-wrap: break-word; +-ms-word-break: break-all; +word-break: break-all; +word-break: break-word; +-ms-hyphens: auto; +-moz-hyphens: auto; +-webkit-hyphens: auto; +hyphens: auto; +max-width: 100%; } h4:first-letter, p:first-letter{ @@ -2180,7 +2190,16 @@ line-height: 1.6; flex: 1; color: rgba(var(--text-color), 0.9); overflow-wrap: break-word; +overflow-wrap: break-word; word-wrap: break-word; +-ms-word-break: break-all; +word-break: break-all; +word-break: break-word; +-ms-hyphens: auto; +-moz-hyphens: auto; +-webkit-hyphens: auto; +hyphens: auto; +max-width: 100%; } .notification:last-of-type{ margin-bottom: 0; @@ -2315,8 +2334,7 @@ customElements.define('sm-notifications', class extends HTMLElement { composition += ` - ` + ` } composition += `
${messageBody}
diff --git a/index.html b/index.html index 7ce2cbd..4019c42 100644 --- a/index.html +++ b/index.html @@ -11616,7 +11616,7 @@ receiverID: myFloID }); - notify(`Transfer successful: ${flo_txid}.`, 'success', '', true); + notify(`Transfer successful: ${flo_txid}`, 'success', true, true); return true; } @@ -11728,7 +11728,7 @@ hidePopup() return false; } else { - notify(`Transaction successful: ${flo_txid}.`, 'success', '', true); + notify(`Transaction successful: ${flo_txid}`, 'success', true, true); if (payingRequested) { const all_reqs = floDapps.getNextGeneralData(token_app.master_configurations .TYPE_REQUEST_PAYMENT, "0").reverse(); @@ -11887,7 +11887,7 @@ receiverID: myFloID }); - notify(`Transaction successful: ${flo_txid}. + notify(`Transaction successful: ${flo_txid}. INR ${amount_to_pay} sent to ${vendor_flo_id}`, 'success', '', true); return true; } @@ -12084,7 +12084,7 @@ senderIDs: [myFloID] }); - notify(`You have sent cash to ${recvr_id} through our cashier service (${cashier_upi}). + notify(`You have sent cash to