From cf8a5c1b9745a31dc2e749a2981c0b2be88f9af2 Mon Sep 17 00:00:00 2001 From: divyabaid16 Date: Fri, 5 Jul 2019 00:20:57 +0530 Subject: [PATCH 1/2] Featured Mappers Mobile Responsive fix --- app/views/front_ui/index.html.erb | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/app/views/front_ui/index.html.erb b/app/views/front_ui/index.html.erb index 1e4ad8482..dcba551f2 100644 --- a/app/views/front_ui/index.html.erb +++ b/app/views/front_ui/index.html.erb @@ -34,6 +34,11 @@ overflow: scroll; position: absolute; } +@media(max-width: 780px) { + .before-featured-map { + margin-bottom: 50px; + } +} @@ -64,7 +69,7 @@ -
+ <% if @mappers.any? %>
From 6b5050936ecc27c00eaa9e240005bca187029526 Mon Sep 17 00:00:00 2001 From: Jeffrey Warren Date: Fri, 5 Jul 2019 11:22:40 -0400 Subject: [PATCH 2/2] assert_template 'front_ui/gallery' --- test/functional/front_ui_controller_test.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/test/functional/front_ui_controller_test.rb b/test/functional/front_ui_controller_test.rb index a2b900016..17ae6d6e6 100644 --- a/test/functional/front_ui_controller_test.rb +++ b/test/functional/front_ui_controller_test.rb @@ -13,6 +13,7 @@ def teardown assert_response :success assert assigns(:mappers) assert assigns(:maps) + assert_template 'front_ui/index' end test 'gallery page' do