From 7683dc37fff1e49600fd73f8979d12eff0a1c41b Mon Sep 17 00:00:00 2001 From: David Taylor Date: Wed, 19 Jun 2019 22:23:41 +0100 Subject: [PATCH] Increase embed height Scrolling is not allowed in Discourse oneboxes, so make sure all the content will fit --- RIGS/rigboard.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/RIGS/rigboard.py b/RIGS/rigboard.py index 82bb29dc..b697ad85 100644 --- a/RIGS/rigboard.py +++ b/RIGS/rigboard.py @@ -66,10 +66,10 @@ class EventOembed(generic.View): full_url = "{0}://{1}{2}".format(request.scheme, request.META['HTTP_HOST'], embed_url) data = { - 'html': ''.format(full_url), + 'html': ''.format(full_url), 'version': '1.0', 'type': 'rich', - 'height': '250' + 'height': '350' } json = simplejson.JSONEncoderForHTML().encode(data)