From 776517b910600f234522a3e5dce8ead5b409961a Mon Sep 17 00:00:00 2001 From: Eric Martin Date: Mon, 30 Nov 2015 15:01:11 -0800 Subject: [PATCH] Padding-top applied to container instead of :host element --- google-youtube.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/google-youtube.html b/google-youtube.html index 70e4e40..1cd4070 100755 --- a/google-youtube.html +++ b/google-youtube.html @@ -413,7 +413,7 @@ ratio *= 100; this.width = '100%'; this.height = 'auto'; - this.style['padding-top'] = ratio + '%'; + this.$.container.style['padding-top'] = ratio + '%'; } },