Fix height bug.(padding-top set to 0)
This commit is contained in:
parent
98d4e80737
commit
aba83ea30e
|
@ -129,7 +129,7 @@ if (typeof onYouTubeIframeAPIReady !== 'function'){
|
|||
'onReady': function(event){
|
||||
var height = $(event.target.getIframe()).height();
|
||||
var banner_wrap = $(iframe).parents('.w-ba-banner__wrap').eq(0);
|
||||
banner_wrap.height(height).css({"padding-bottom":"","padding-top":""});
|
||||
banner_wrap.height(height).css({"padding-bottom":"","padding-top":"0"});
|
||||
banner_wrap.find(".cycle-carousel-wrap").css("top","3em");
|
||||
try{
|
||||
delete (event.target.B || event.target.H || event.target.I).onStateChange;
|
||||
|
|
Loading…
Reference in New Issue