Skip to content

Commit

Permalink
fix(iframe): add .iframe-wrapper for scrollable iframe
Browse files Browse the repository at this point in the history
Closes #1151
  • Loading branch information
adamdbradley committed Feb 12, 2015
1 parent bffbee4 commit b7cd6cb
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions scss/_util.scss
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,23 @@
}


/**
* Scrollable iFrames
* --------------------------------------------------
*/

.iframe-wrapper {
position: fixed;
-webkit-overflow-scrolling: touch;
overflow: scroll;

iframe {
height: 100%;
width: 100%;
}
}


/**
* Rounded
* --------------------------------------------------
Expand Down

0 comments on commit b7cd6cb

Please sign in to comment.