diff --git a/src/webpage/style.css b/src/webpage/style.css index f90f283..c538aa7 100644 --- a/src/webpage/style.css +++ b/src/webpage/style.css @@ -2802,6 +2802,7 @@ fieldset input[type="radio"] { background: var(--primary-bg); padding: 6px; cursor: pointer; + margin-top: 6px; img { width: 48px !important; diff --git a/src/webpage/user.ts b/src/webpage/user.ts index 3e2c5a7..c1845fc 100644 --- a/src/webpage/user.ts +++ b/src/webpage/user.ts @@ -877,7 +877,9 @@ class User extends SnowFlake { const info = document.createElement("div"); info.classList.add("flexttb"); - info.append(guild.properties.name); + const gname = document.createElement("span"); + gname.textContent = guild.properties.name; + info.append(gname); box.append(icon, info); if (nick) info.append(nick); return box; @@ -886,8 +888,9 @@ class User extends SnowFlake { ); mut.addHTMLArea(mutDiv); })(); - - userbody.append(float.generateHTML()); + const fhtml = float.generateHTML(); + fhtml.style.overflow = "auto"; + userbody.append(fhtml); document.body.append(background); background.append(div);