Open JeroenCorthout opened 6 years ago
This due to the <meta name="viewport"
tag we inject
The problem is, if you change it to something sensible the whole website brakes... 👌
So I tried some hacks but it is janky at best
<script>
analytics.ready(function () {
setTimeout(function() {
console.log('resize');
$('.intercom-launcher-frame').css('cssText', "width: 80px !important; height: 80px !important;");
$('.intercom-launcher-frame').contents().find('.intercom-launcher').css({ width: '80px', height: '80px'});
$('.intercom-launcher-frame').contents().find('.intercom-launcher .intercom-launcher-open-icon svg').css({ width: '38px', height: '42px'});
$('intercom-launcher-badge-frame').css('cssText', 'bottom: 80px !important');
}, 1000);
});
</script>
This only sometimes works, does not position the red dot correctly, flickers sometimes. Then there is this as well, check the website morphing before opening the intercom thing So yeah not really confident I can solve this without changing the meta viewport tag which is WAY more work
Not shown anymore
And it's back :-D
This is on OnePlus 5