From b7cd6cb1ca7cdfc245827b4c460ae67810824841 Mon Sep 17 00:00:00 2001 From: Adam Bradley Date: Thu, 12 Feb 2015 15:47:54 -0600 Subject: [PATCH] fix(iframe): add .iframe-wrapper for scrollable iframe Closes #1151 --- scss/_util.scss | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/scss/_util.scss b/scss/_util.scss index ca7326b4b6a..273c6a8258f 100644 --- a/scss/_util.scss +++ b/scss/_util.scss @@ -142,6 +142,23 @@ } +/** + * Scrollable iFrames + * -------------------------------------------------- + */ + +.iframe-wrapper { + position: fixed; + -webkit-overflow-scrolling: touch; + overflow: scroll; + + iframe { + height: 100%; + width: 100%; + } +} + + /** * Rounded * --------------------------------------------------