From 5dd848abcf59cc50aa1ed9d5ae5eed0a1a478666 Mon Sep 17 00:00:00 2001 From: Connor Turland Date: Wed, 11 Jun 2014 10:38:08 -0400 Subject: [PATCH] fixed scrolling on home page --- app/assets/stylesheets/application.css | 3 +++ app/views/layouts/application.html.erb | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/app/assets/stylesheets/application.css b/app/assets/stylesheets/application.css index 3bbdaeea..2d84e310 100644 --- a/app/assets/stylesheets/application.css +++ b/app/assets/stylesheets/application.css @@ -90,6 +90,9 @@ body, height: 100%; overflow: hidden; } +.unauthenticated .wrapper.homePage { + overflow: auto; +} /* scrollbar override */ .maps > div > div.mCS_no_scrollbar { diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index 80840a96..f6a94311 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -46,7 +46,7 @@ <%= content_tag :div, class: authenticated? ? "main authenticated" : "main unauthenticated" do %> -
+
" id="wrapper">