Merge pull request #1373 from paulkaplan/fix-ios-feedback-scrollilng
Fix feedback iframe scrolling for iOS.
This commit is contained in:
1 file changed
+11
-2
@@ -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;
|
||||
}
|
||||
Reference in new issue
Block a user