From 4767314fbd47a1555718f667e77ff01da7ff1232 Mon Sep 17 00:00:00 2001 From: ElementalAlchemist Date: Fri, 22 Nov 2024 23:35:53 -0600 Subject: [PATCH] Remove the special emote size handling Since autoscroll doesn't rely on emotes rendering at their correct height from the start anymore (this only worked nebulously anyway), this commit gets rid of the forced sizing entirely. --- thrimbletrimmer/src/common/chat.module.scss | 6 ------ thrimbletrimmer/src/common/chat.tsx | 1 - 2 files changed, 7 deletions(-) diff --git a/thrimbletrimmer/src/common/chat.module.scss b/thrimbletrimmer/src/common/chat.module.scss index efdc39b..cf9067c 100644 --- a/thrimbletrimmer/src/common/chat.module.scss +++ b/thrimbletrimmer/src/common/chat.module.scss @@ -35,12 +35,6 @@ } } -.chatReplayMessageEmote { - // The sizes here are based on Twitch's 1.0 emote size. - width: 28px; - height: 28px; -} - .chatReplayMessageCleared { opacity: 0.5; diff --git a/thrimbletrimmer/src/common/chat.tsx b/thrimbletrimmer/src/common/chat.tsx index b8f8315..2da5418 100644 --- a/thrimbletrimmer/src/common/chat.tsx +++ b/thrimbletrimmer/src/common/chat.tsx @@ -385,7 +385,6 @@ const MessageText: Component = (props) => { src={emoteImageURL} alt={emoteText} title={emoteText} - class={styles.chatReplayMessageEmote} />, ); }