From e0f2520fb03ed07a38e96c012c0f599b2fbe7f04 Mon Sep 17 00:00:00 2001 From: RblSb Date: Sun, 26 Apr 2020 06:14:07 +0300 Subject: Fix autoscroll with unloaded images --- res/css/cytube.css | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'res/css') diff --git a/res/css/cytube.css b/res/css/cytube.css index b080f91..55e832c 100644 --- a/res/css/cytube.css +++ b/res/css/cytube.css @@ -101,11 +101,16 @@ max-height: 75px; cursor: pointer; } -.channel-emote, .chat-img { +.channel-emote { max-width: 150px; max-height: 150px; } +.chat-img { + max-width: 200px; + max-height: 200px; +} video.channel-emote, video.chat-img { + background-color: transparent; /* Fixes default video tag size in chat when tab unloads videos in background */ /* (some browsers optimization i guess) */ height: 150px; -- cgit v1.2.3