diff --git a/assets/css/index.css b/assets/css/index.css index 2cb75b6..b46aa4e 100644 --- a/assets/css/index.css +++ b/assets/css/index.css @@ -908,8 +908,7 @@ body:not(.gui) .chooser>.back { } .bottom { - height: 40%; - margin: 40px auto auto auto!important; + /* margin: 40px auto auto auto!important; */ max-width: 90%; } @@ -1694,4 +1693,7 @@ body { top: 70px; left: 10px; } + .top>.gui { + margin-top: 5px; + } } \ No newline at end of file diff --git a/assets/js/index.js b/assets/js/index.js index 54acd30..f310d09 100644 --- a/assets/js/index.js +++ b/assets/js/index.js @@ -130,6 +130,7 @@ window.onload = () => { embedImage = document.querySelector('.embedImage'), embedThumbnail = document.querySelector('.embedThumbnail'), embedFields = embed.querySelector('.embedFields'), + encodeHTML = str => str.replace(/[\u00A0-\u9999<>\&]/g, i => '' + i.charCodeAt(0) + ';'), tstamp = stringISO => { let date = stringISO ? new Date(stringISO) : new Date(), dateArray = date.toLocaleString('en-US', { hour: 'numeric', hour12: true, minute: 'numeric' }), @@ -148,17 +149,17 @@ window.onload = () => { gui.innerHTML = `
Message content
Title
- +Description
Fields