From a60c43f5271bbdb44ce62c0469136960a2f8b771 Mon Sep 17 00:00:00 2001 From: rulingcom Date: Thu, 9 Sep 2021 03:04:17 +0000 Subject: [PATCH] update template --- assets/stylesheets/template/layout/header.scss | 2 +- modules/ad_banner/_ad_banner_widget2_video.html.erb | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/assets/stylesheets/template/layout/header.scss b/assets/stylesheets/template/layout/header.scss index 7d2d0f6..eb31e3e 100644 --- a/assets/stylesheets/template/layout/header.scss +++ b/assets/stylesheets/template/layout/header.scss @@ -75,7 +75,7 @@ .site-logo { width: 12em; - height: 100%; + height: auto; margin-right: 0.5em; float: left; } diff --git a/modules/ad_banner/_ad_banner_widget2_video.html.erb b/modules/ad_banner/_ad_banner_widget2_video.html.erb index 0c82e07..949e906 100644 --- a/modules/ad_banner/_ad_banner_widget2_video.html.erb +++ b/modules/ad_banner/_ad_banner_widget2_video.html.erb @@ -85,7 +85,7 @@ if (typeof onYouTubeIframeAPIReady !== 'function'){ var banner_wrap = $(".w-ba-banner__wrap[data-overlay=\".w-ad-banner__overlay_{{subpart-id}}\"]"); banner_wrap.height(height).css({"padding-bottom":"4em","padding-top":""}); banner_wrap.find(".cycle-carousel-wrap").css("top","3em"); - delete event.target.B.onStateChange; + delete (event.target.B || event.target.H).onStateChange; var onStateChange_idx = event.target.l.i.onStateChange; onStateChange_idx.reverse(); var event_size = 3; @@ -197,4 +197,4 @@ if (typeof onYouTubeIframeAPIReady !== 'function'){ .next-button,.prev-button{ cursor: pointer; } - \ No newline at end of file +