From: Ove Klykken Date: Thu, 19 Jun 2014 19:28:30 +0000 (-0400) Subject: Reverted bg scrolling fix. was not right X-Git-Tag: v1.0^2~36 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=d44060ceb5c92e5205efb3114a556f8b7e16a45e;p=web%2FSooLocks.git Reverted bg scrolling fix. was not right --- diff --git a/styles.css b/styles.css index f800eea..b4c63a3 100644 --- a/styles.css +++ b/styles.css @@ -1,14 +1,18 @@ -html { - background-size: cover; -height: 100%; -overflow: hidden; - background: url(assets/bg2.jpg) center top fixed; -} +.glmMap { + position: relative; + padding-bottom: 75%; // This is the aspect ratio + height: 0; + overflow: hidden; + } +.glmMap iframe { + position: absolute; + top: 0; + left: 0; + width: 100% !important; + height: 100% !important; + } body { -height:100%; -overflow: auto; --webkit-overflow-scrolling: touch; -background: transparent; + background: url(assets/bg2.jpg) center top fixed; } .hide-text { text-indent: 9999px;