mirror of
https://github.com/wassname/talk.git
synced 2026-07-06 01:42:50 +08:00
Merge branch 'master' into profanity-verbiage
This commit is contained in:
@@ -57,6 +57,10 @@ function configurePymParent(pymParent) {
|
||||
|
||||
window.document.body.appendChild(snackbar);
|
||||
|
||||
// Workaround: IOS Safari ignores `width` but respects `min-width` value.
|
||||
pymParent.el.firstChild.style.width = '1px';
|
||||
pymParent.el.firstChild.style.minWidth = '100%';
|
||||
|
||||
// Resize parent iframe height when child height changes
|
||||
pymParent.onMessage('height', function(height) {
|
||||
if (height !== cachedHeight) {
|
||||
|
||||
Reference in New Issue
Block a user