Skip to content

Commit

Permalink
Padding-top applied to container instead of :host element
Browse files Browse the repository at this point in the history
  • Loading branch information
thisfrontenddev committed Nov 30, 2015
1 parent 151c63c commit 776517b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion google-youtube.html
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@
ratio *= 100;
this.width = '100%';
this.height = 'auto';
this.style['padding-top'] = ratio + '%';
this.$.container.style['padding-top'] = ratio + '%';
}
},

Expand Down

0 comments on commit 776517b

Please sign in to comment.