From 54e19c7ef3bdef3a8469fb16ded8ab1b36f7a1a2 Mon Sep 17 00:00:00 2001 From: Lightling Date: Thu, 30 May 2024 19:18:17 -0400 Subject: [PATCH] append icon and don't inflate it --- libs/embeds/src/link.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libs/embeds/src/link.ts b/libs/embeds/src/link.ts index df50b02..943fd6c 100644 --- a/libs/embeds/src/link.ts +++ b/libs/embeds/src/link.ts @@ -64,7 +64,9 @@ export class LinkEmbed extends HTMLElement { this.append(_link) const _icon = ownerDocument.createElement('img') + _link.append(_icon) _icon.alt = '' // decorative + _icon.classList.add('no-inflate') this._observers.icon = { element: _icon, observer: (oldVal, newVal) => {