From 2c4851f423e544d32317965b58b307b965d6eb83 Mon Sep 17 00:00:00 2001 From: MathMan05 Date: Sat, 28 Dec 2024 23:49:00 -0600 Subject: [PATCH] embed fix --- src/webpage/embed.ts | 2 +- src/webpage/style.css | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/webpage/embed.ts b/src/webpage/embed.ts index f957431..6c92947 100644 --- a/src/webpage/embed.ts +++ b/src/webpage/embed.ts @@ -92,7 +92,7 @@ class Embed { const authorline = document.createElement("div"); if (this.json.author.icon_url) { const img = document.createElement("img"); - img.classList.add("embedimg"); + img.classList.add("authorEmbedImg"); img.src = this.json.author.icon_url; authorline.append(img); } diff --git a/src/webpage/style.css b/src/webpage/style.css index 0b1134b..f2d0b34 100644 --- a/src/webpage/style.css +++ b/src/webpage/style.css @@ -1383,6 +1383,11 @@ img.embedicon { img.embedimg { max-width: 96px; } +img.authorEmbedImg { + max-width: 20px; + padding-right:4px; + border-radius:1in; +} img.bigembedimg { height: auto !important; margin-top: 8px;