From fe51c6d7e7cc736a0c45e35244d1dd438a6b25f4 Mon Sep 17 00:00:00 2001 From: Pavel Djundik Date: Thu, 14 Dec 2017 13:12:22 +0200 Subject: [PATCH 1/2] Move video size to css --- client/css/style.css | 5 +++++ client/views/msg_preview.tpl | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/client/css/style.css b/client/css/style.css index c3f0216a..556dda79 100644 --- a/client/css/style.css +++ b/client/css/style.css @@ -1449,6 +1449,11 @@ button.collapse-network:first-child:nth-last-child(3) { max-width: 100%; } +#chat video { + max-width: 640px; + max-height: 240px; +} + /* Do not display an empty div when there are no previews. Useful for example in part/quit messages where we don't load previews (adds a blank line otherwise) */ #chat .preview:empty { diff --git a/client/views/msg_preview.tpl b/client/views/msg_preview.tpl index 451b99f0..05cf7680 100644 --- a/client/views/msg_preview.tpl +++ b/client/views/msg_preview.tpl @@ -12,7 +12,7 @@ {{/equal}} {{#equal type "video"}} -