diff --git a/webAO/dom/resizeChatbox.ts b/webAO/dom/resizeChatbox.ts index 0fb737d2..a60dbff1 100644 --- a/webAO/dom/resizeChatbox.ts +++ b/webAO/dom/resizeChatbox.ts @@ -16,6 +16,13 @@ export function resizeChatbox() { const trackstatus = (document.getElementById("client_trackstatustext")); trackstatus.style.width = (trackstatus.offsetWidth - 1) + "px"; + //name spacing + const namePlate = document.getElementById("client_name"); + if (CHATBOX == "aa" && namePlate.innerText.length<5) { + namePlate.style.letterSpacing = "0.2em"; + }else{ + namePlate.style.letterSpacing = "normal"; + } //clock const now = new Date(); diff --git a/webAO/styles/chatbox/aa.css b/webAO/styles/chatbox/aa.css index a504dafc..c1ae7a24 100644 --- a/webAO/styles/chatbox/aa.css +++ b/webAO/styles/chatbox/aa.css @@ -71,7 +71,7 @@ background: rgba(60, 85, 255, 0.4); box-shadow: 0.075em 0.075em rgba(0, 56, 163, 0.5) inset; margin: 0; - padding-top: 0.4%; + padding-top: 0.5%; padding-left: 1.955%; padding-right: 1.955%; border-color: rgba(255, 255, 255, 0.5);