Fix height bug.(padding-top set to 0)

This commit is contained in:
bohung committed 2022-03-07 18:47:51 +08:00
1 parent 98d4e80737
commit aba83ea30e
1 file changed
+1 -1
@@ -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;