From a104d1fde92c6119942d1b2858f5e25189a0b90a Mon Sep 17 00:00:00 2001 From: rulingcom Date: Thu, 14 Oct 2021 04:12:12 +0000 Subject: [PATCH] fix error --- assets/javascripts/app.js | 4 ++-- assets/stylesheets/template/layout/content.scss | 14 ++++++++------ 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/assets/javascripts/app.js b/assets/javascripts/app.js index d762076..6167ad9 100644 --- a/assets/javascripts/app.js +++ b/assets/javascripts/app.js @@ -457,7 +457,7 @@ }) }); $(window).on("load",function(){ - $(".ba-banner-widget-1 .ad-overlay").css("bottom","auto"); + //$(".ba-banner-widget-1 .ad-overlay").css("bottom","auto"); $(".slide").css("height","auto"); $(".w-ba-banner__wrap").css("height","auto"); }) @@ -491,4 +491,4 @@ $(document).ready(function(){ }) $(window).resize(function(){ $(".content_background img").height($(".content_background img").parents(".layout-content").height()); -}) \ No newline at end of file +}) diff --git a/assets/stylesheets/template/layout/content.scss b/assets/stylesheets/template/layout/content.scss index af06582..7966e20 100644 --- a/assets/stylesheets/template/layout/content.scss +++ b/assets/stylesheets/template/layout/content.scss @@ -19,11 +19,13 @@ } section{ - - margin-bottom: 3em; - // @media (min-width: $screen-sm){ - // padding: 0 2rem; - // } + margin-bottom: 3em; + //@media (min-width: $screen-sm){ + //padding: 0 2rem; + // } + &:empty{ + margin-bottom: 0em; + } } .main{ @@ -63,4 +65,4 @@ } } -} \ No newline at end of file +}