From 7f341411c564d717f7a3abc9d40fbe2568d4cbd0 Mon Sep 17 00:00:00 2001 From: Robert Best Date: Thu, 10 Nov 2022 02:19:44 -0500 Subject: [PATCH] Update frame.js This makes the frame item with the #miro link on this page http://robert.wiki.openlearning.cc/import-miro-graphs.html not show an internal scroll bar when the frame HEIGHT parameter is 0. I was trying to make the frame for a simple link as small as possible. I also notice that frames that are beside each other on the page like the one above just sort of blend together and look like one larger frame. I also noticed an empty

for each frame items on the page after the iframe element in the HTML, not sure what's adding that. --- client/frame.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/frame.js b/client/frame.js index fb4265f..032341a 100644 --- a/client/frame.js +++ b/client/frame.js @@ -1,6 +1,6 @@ (function() { - const resizeFudge = 30 + const resizeFudge = 40 const defaultHeight = 150 - resizeFudge function expand(text) {