From 2aa68ab0f4dff1b4cb509b0605856720b9ce2940 Mon Sep 17 00:00:00 2001 From: chiu Date: Thu, 2 Sep 2021 10:59:37 +0800 Subject: [PATCH] fix error --- modules/ad_banner/_ad_banner_widget1.html.erb | 2 ++ modules/ad_banner/_ad_banner_widget2_video.html.erb | 2 ++ 2 files changed, 4 insertions(+) diff --git a/modules/ad_banner/_ad_banner_widget1.html.erb b/modules/ad_banner/_ad_banner_widget1.html.erb index 74738e4..8c32071 100644 --- a/modules/ad_banner/_ad_banner_widget1.html.erb +++ b/modules/ad_banner/_ad_banner_widget1.html.erb @@ -73,6 +73,8 @@ position: absolute; width: 100%; height: 100%; + top: 0; + left: 0; } .next-button,.prev-button{ cursor: pointer; diff --git a/modules/ad_banner/_ad_banner_widget2_video.html.erb b/modules/ad_banner/_ad_banner_widget2_video.html.erb index 3aaa19b..0c82e07 100644 --- a/modules/ad_banner/_ad_banner_widget2_video.html.erb +++ b/modules/ad_banner/_ad_banner_widget2_video.html.erb @@ -191,6 +191,8 @@ if (typeof onYouTubeIframeAPIReady !== 'function'){ position: absolute; width: 100%; height: 100%; + top: 0; + left: 0; } .next-button,.prev-button{ cursor: pointer;