From 37aff562a7552deea1ff4967141bee0974d57356 Mon Sep 17 00:00:00 2001 From: bohung Date: Sun, 16 Oct 2022 19:17:32 +0800 Subject: [PATCH] Fix css bug. --- modules/ad_banner/_ad_banner_widget1.html.erb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/modules/ad_banner/_ad_banner_widget1.html.erb b/modules/ad_banner/_ad_banner_widget1.html.erb index d20a83f..410f3b7 100644 --- a/modules/ad_banner/_ad_banner_widget1.html.erb +++ b/modules/ad_banner/_ad_banner_widget1.html.erb @@ -70,9 +70,8 @@ .w-ba-banner .button-mid{ position: absolute; width: 100%; - height: 100%; - top: 0; - left: 0; + height: 0; + top: 50%; } .next-button,.prev-button{ cursor: pointer;