diff options
| author | RblSb <msrblsb@gmail.com> | 2020-04-04 00:40:03 +0300 |
|---|---|---|
| committer | RblSb <msrblsb@gmail.com> | 2020-04-04 00:40:03 +0300 |
| commit | 7cf11755baee64744b463fc88d80ece6de652c42 (patch) | |
| tree | 2e8e3ceed6102dd383fea9870d69759e96b4fc6e /res | |
| parent | 8cd5273d077824bca21faf63b0906ad2616b1e31 (diff) | |
Fix chat scroll bug with video emotes
Video emotes lower 150px will be blurry, but this is still better
Diffstat (limited to 'res')
| -rw-r--r-- | res/css/cytube.css | 5 | ||||
| -rw-r--r-- | res/index.html | 9 |
2 files changed, 5 insertions, 9 deletions
diff --git a/res/css/cytube.css b/res/css/cytube.css index 883024a..75313d6 100644 --- a/res/css/cytube.css +++ b/res/css/cytube.css @@ -101,6 +101,11 @@ max-width: 150px; max-height: 150px; } +video.channel-emote, video.chat-img { + /* Fixes default video tag size in chat when tab unloads videos in background */ + /* (some browsers optimization i guess) */ + height: 150px; +} /* #userpl_list li { diff --git a/res/index.html b/res/index.html index 3125fc9..39252d5 100644 --- a/res/index.html +++ b/res/index.html @@ -1,15 +1,6 @@ <!DOCTYPE html> <html><head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> - <style class="vjs-styles-defaults"> - .video-js { - width: 300px; - height: 150px; - } - .vjs-fluid { - padding-top: 56.25% - } - </style> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>SyncTube</title> |
