From 1fb079d63bf0f4746b55b6b6397226ffec6f7ad9 Mon Sep 17 00:00:00 2001 From: vipul chhabra Date: Tue, 12 Mar 2019 07:16:19 +0530 Subject: [PATCH] message view: Fix The unexpected behavior of Youtube Thumbnail. It is observed in Mozilla margin was considered from other side of thumbnail due to some special padding issues observed in mozilla. To fix this top and left value are assigned to 0 so that it automatically takes its correct position in all browsers Fixes #11867. --- static/styles/zulip.scss | 2 ++ 1 file changed, 2 insertions(+) diff --git a/static/styles/zulip.scss b/static/styles/zulip.scss index 501b805852..1c91f4b6f1 100644 --- a/static/styles/zulip.scss +++ b/static/styles/zulip.scss @@ -2266,6 +2266,8 @@ li .message_inline_image img { background-color: hsl(0, 0%, 0%); color: hsl(0, 0%, 100%); opacity: 0.7; + top: 0; + left: 0; } .message_inline_image_title {