From a0be49f658d9af11756aef77f8019ff8e420ee41 Mon Sep 17 00:00:00 2001 From: Nicolas Bally Date: Sun, 28 Jun 2020 14:41:38 +0200 Subject: [PATCH] suite --- app/assets/stylesheets/public.scss | 17 +++++++++++++++-- app/views/public/m_events/_search.html.haml | 5 ++++- 2 files changed, 19 insertions(+), 3 deletions(-) diff --git a/app/assets/stylesheets/public.scss b/app/assets/stylesheets/public.scss index ac553ab..1d916ea 100644 --- a/app/assets/stylesheets/public.scss +++ b/app/assets/stylesheets/public.scss @@ -10490,13 +10490,18 @@ a.sp-video { display:none; } -.no-mobile{ +.mobile-block{ display:none; } - @media screen and (min-width: 0px) and (max-width: 740px) { + .no-mobile{ + display:none; + } + + + .columns{ float:none; width:auto !important; @@ -10708,6 +10713,14 @@ a.sp-video { font-size:10px; } } + + .recherche_filtre{ + + #start{ + margin-bottom:5px; + margin-top:-5px; + } + } } diff --git a/app/views/public/m_events/_search.html.haml b/app/views/public/m_events/_search.html.haml index 2d6afdf..c9b14ae 100644 --- a/app/views/public/m_events/_search.html.haml +++ b/app/views/public/m_events/_search.html.haml @@ -16,7 +16,7 @@ .select.inline_large_input=select_tag "search[organisateur_id]", options_for_select([["Organisateur",""]]+Organisateur.order(:name).all.map{|a| [a.name, a.id]}, params[:search][:organisateur_id]), :place_holder => "" - .right{:style => "position:relative;top:10px;"} + .no-mobile.right{:style => "position:relative;top:10px;"} =submit_tag "Rechercher", :class => "submit" %p @@ -40,4 +40,7 @@ = label_tag "p_document_type_ids_"+pdt.to_slug, pdt .clear + + .mobile-block + =submit_tag "Rechercher", :class => "submit" \ No newline at end of file