Merge pull request #1373 from paulkaplan/fix-ios-feedback-scrollilng

Fix feedback iframe scrolling for iOS.
This commit is contained in:
Paul Kaplan authored and GitHub committed 2018-01-31 16:54:07 -05:00
commit fcea1f8231
1 file changed
+11 -2
+11 -2
View File
@@ -2,6 +2,9 @@
@import "../../css/units.css";
@import "../../css/typography.css";
$content-width: 500px;
$content-height: 450px;
.modal-overlay {
position: fixed;
top: 0;
@@ -19,12 +22,18 @@
padding: 0;
border-radius: $space;
user-select: none;
width: 500px;
height: 450px;
width: $content-width;
color: $text-primary;
overflow: hidden;
}
.body {
/* Need to repeat dimensions here to allow iframe scrolling for iOS */
width: $content-width;
height: $content-height;
background: $ui-pane-gray;
/* These properties needed to allow iframe scrolling for iOS */
overflow-y: scroll;
-webkit-overflow-scrolling: touch;
}