embed fix

This commit is contained in:
MathMan05 2024-12-28 23:49:00 -06:00
parent 0acc280b30
commit 2c4851f423
2 changed files with 6 additions and 1 deletions

View file

@ -92,7 +92,7 @@ class Embed {
const authorline = document.createElement("div"); const authorline = document.createElement("div");
if (this.json.author.icon_url) { if (this.json.author.icon_url) {
const img = document.createElement("img"); const img = document.createElement("img");
img.classList.add("embedimg"); img.classList.add("authorEmbedImg");
img.src = this.json.author.icon_url; img.src = this.json.author.icon_url;
authorline.append(img); authorline.append(img);
} }

View file

@ -1383,6 +1383,11 @@ img.embedicon {
img.embedimg { img.embedimg {
max-width: 96px; max-width: 96px;
} }
img.authorEmbedImg {
max-width: 20px;
padding-right:4px;
border-radius:1in;
}
img.bigembedimg { img.bigembedimg {
height: auto !important; height: auto !important;
margin-top: 8px; margin-top: 8px;