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 +}