From 0298883ceaf84db165262b3b860c57bbd57ea1c4 Mon Sep 17 00:00:00 2001 From: Alan Orozco Date: Tue, 12 Feb 2019 16:57:41 -0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9BReset=20min=20dimensions=20on=20und?= =?UTF-8?q?ock=20(#20817)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Otherwise the video can be oversized and 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',