embed fix
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
@@ -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;
|
||||||
|
Reference in New Issue
Block a user