From 87692f7915d334c79d0dba10dd26a192d29f2108 Mon Sep 17 00:00:00 2001 From: Nicolas Bally Date: Mon, 18 Mar 2019 11:51:59 +0100 Subject: [PATCH] suite --- app/assets/stylesheets/public.scss | 3 ++- app/views/layouts/public.html.haml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/app/assets/stylesheets/public.scss b/app/assets/stylesheets/public.scss index d04917a..6bbdaaa 100644 --- a/app/assets/stylesheets/public.scss +++ b/app/assets/stylesheets/public.scss @@ -472,7 +472,7 @@ img{ left: 0; right: 0; left: 0; - min-height: 80px; + min-height: 0px; padding-top: 0px; background: none !important; z-index: 5; @@ -662,6 +662,7 @@ img{ #main_content { width: auto; + top:0; } .span_6 { diff --git a/app/views/layouts/public.html.haml b/app/views/layouts/public.html.haml index 4459031..d2d680c 100644 --- a/app/views/layouts/public.html.haml +++ b/app/views/layouts/public.html.haml @@ -219,10 +219,11 @@ }); -else + =render :partial => "public/shared/menu_top" .slide_home_wrapper.with_ratio{:style => "background-image:url('#{@img_url}');", :data => {:ratio => 0.35}} - =render :partial => "public/shared/menu_top" + -if @menu_item and @menu_item.id == 1