From 2c815ee1156435d59451f3d9cd52b241f4191ba0 Mon Sep 17 00:00:00 2001 From: Kevin Pham <keevan.pham@gmail.com> Date: Wed, 8 Sep 2021 14:00:47 +1000 Subject: [PATCH] Fix mobile app embedding display, which partially showed the content - Width and height of the iframe now at 100% - Container was always filling the content area but iframe was not, which was why this change was made --- templates/mobile_view_page.mustache | 2 ++ 1 file changed, 2 insertions(+) diff --git a/templates/mobile_view_page.mustache b/templates/mobile_view_page.mustache index c0bfa91..3635e81 100644 --- a/templates/mobile_view_page.mustache +++ b/templates/mobile_view_page.mustache @@ -1,6 +1,8 @@ {{=<% %>=}} <div style="height: 100%; width: 100%; background: white;"> <iframe + width="100%" + height="100%" src="<% wwwroot %>/mod/hvp/embed.php?id=<% cmid %>&user_id=<% user_id %>&secret=<% secret %>" frameborder="0" allow="microphone; camera" -- GitLab