diff --git a/src/webpage/direct.ts b/src/webpage/direct.ts index 679ce68..bcca8b0 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 bf40fd5..96eec17 100644 --- a/src/webpage/style.css +++ b/src/webpage/style.css @@ -3916,7 +3916,7 @@ fieldset input[type="radio"] { } .flexspace { padding-bottom: 32px; - overflow-y: auto; + overflow-y: visible; position: relative; } .flexspace:has(.flexspace) { diff --git a/translations/en.json b/translations/en.json index d6002ed..b621689 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",