Skip to content
This repository was archived by the owner on Nov 30, 2021. It is now read-only.

Commit

Permalink
fix background scrolling on chrome/safari ios8 and chrome desktop
Browse files Browse the repository at this point in the history
  • Loading branch information
josmardias committed Mar 26, 2015
1 parent cf56061 commit 7524d1c
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions integration.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
/* html and body */

html.integration-noscroll,
html.integration-noscroll.integration-ios8,
html.integration-noscroll > body {
position: relative;
height: 100%;
width: 100%;
overflow: hidden;
Expand All @@ -11,11 +10,16 @@ html.integration-noscroll > body {
padding: 0;
}

html.integration-noscroll.integration-ios8,
html.integration-noscroll.integration-ios8 > body {
position: relative;
}

/* iframe */

iframe#integration {
display: block;
position: absolute;
position: fixed;
left: 0;
top: 0;
width: 100%;
Expand All @@ -34,7 +38,8 @@ iframe#integration {
background: rgba(0, 0, 0, 0.00392157);
}

html.integration-ios8.integration-safari iframe#integration {
html.integration-ios8 iframe#integration {
min-height: 0;
position: absolute;
}

0 comments on commit 7524d1c

Please sign in to comment.