diff --git a/src/webpage/direct.ts b/src/webpage/direct.ts index 679ce68c..bcca8b05 100644 --- a/src/webpage/direct.ts +++ b/src/webpage/direct.ts @@ -319,6 +319,7 @@ class Direct extends Guild { const box = text.input.deref(); if (!box) return; box.value = ""; + box.placeholder = I18n.friends.requestsent(); } }, { diff --git a/src/webpage/style.css b/src/webpage/style.css index bf40fd5d..3585c6d0 100644 --- a/src/webpage/style.css +++ b/src/webpage/style.css @@ -4427,7 +4427,7 @@ fieldset input[type="radio"] { .suberrora { background: var(--channel-hover); border-radius: 0.1in; - position: absolute; + position: relative; border: solid var(--primary-text) 0.02in; color: color-mix(in hsl, var(--yellow), var(--red)); font-weight: bold; @@ -4442,6 +4442,7 @@ fieldset input[type="radio"] { box-sizing: border-box; pointer-events: none; z-index: 10000000; + width: fit-content; } @keyframes goout { 0%, diff --git a/translations/en.json b/translations/en.json index d6002ed4..113808a5 100644 --- a/translations/en.json +++ b/translations/en.json @@ -263,6 +263,7 @@ "friends": { "addfriend": "Add friend", "addfriendpromt": "Add friends by username:", + "requestsent": "Request sent!", "all": "All", "all:": "All friends:", "blocked": "Blocked", @@ -846,7 +847,7 @@ "title": "Stickers", "upload": "Upload stickers" }, - "submit": "submit", + "submit": "Submit", "switchAccounts": "Switch accounts ⇌", "todayAt": "Today at $1", "trace": {