From cae8948a6c5ab8ba9bd134a6373b4ef29c52edfb Mon Sep 17 00:00:00 2001 From: Alan Orozco Date: Tue, 12 Feb 2019 15:45:57 -0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9BReset=20min=20dimensions=20on=20und?= =?UTF-8?q?ock?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Otherwise the video can be clipped when docked and resizing the window. --- extensions/amp-video-docking/0.1/amp-video-docking.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/extensions/amp-video-docking/0.1/amp-video-docking.js b/extensions/amp-video-docking/0.1/amp-video-docking.js index 8580bb4f29d7..31c0518f946c 100644 --- a/extensions/amp-video-docking/0.1/amp-video-docking.js +++ b/extensions/amp-video-docking/0.1/amp-video-docking.js @@ -1717,6 +1717,8 @@ export class VideoDocking { resetStyles(el, [ 'transform', 'transition', + 'min-width', + 'min-height', 'width', 'height', 'opacity',