fixed scrolling on home page
This commit is contained in:
parent
140a526226
commit
5dd848abcf
2 changed files with 4 additions and 1 deletions
|
@ -90,6 +90,9 @@ body,
|
||||||
height: 100%;
|
height: 100%;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
.unauthenticated .wrapper.homePage {
|
||||||
|
overflow: auto;
|
||||||
|
}
|
||||||
/* scrollbar override */
|
/* scrollbar override */
|
||||||
|
|
||||||
.maps > div > div.mCS_no_scrollbar {
|
.maps > div > div.mCS_no_scrollbar {
|
||||||
|
|
|
@ -46,7 +46,7 @@
|
||||||
|
|
||||||
<%= content_tag :div, class: authenticated? ? "main authenticated" : "main unauthenticated" do %>
|
<%= content_tag :div, class: authenticated? ? "main authenticated" : "main unauthenticated" do %>
|
||||||
|
|
||||||
<div class="wrapper" id="wrapper">
|
<div class="wrapper <%= controller_name == "main" && action_name == "home" ? "homePage" : "" %>" id="wrapper">
|
||||||
<div class="sidebarSearch">
|
<div class="sidebarSearch">
|
||||||
<div class="sidebarSearchIcon"></div>
|
<div class="sidebarSearchIcon"></div>
|
||||||
<input type="text" class="sidebarSearchField"></input>
|
<input type="text" class="sidebarSearchField"></input>
|
||||||
|
|
Loading…
Reference in a new issue