From 3bb8174fe0d27d6f63da1fe5254599d43149e3e8 Mon Sep 17 00:00:00 2001 From: krassowski <5832902+krassowski@users.noreply.github.com> Date: Fri, 16 Aug 2024 11:40:41 +0100 Subject: [PATCH] Remove loader, do not swap elements as it restarts iframe loading --- content/demo-dev.html | 26 +++++++++++++++----------- 1 file changed, 15 insertions(+), 11 deletions(-) diff --git a/content/demo-dev.html b/content/demo-dev.html index ce5a190..3e219b8 100644 --- a/content/demo-dev.html +++ b/content/demo-dev.html @@ -42,13 +42,14 @@ white-space: pre; font-size: 13px; display: block; - margin-top: 65px; + padding-top: 65px; } - code[data-run], iframe { + code[data-run], .code-wrapper, iframe { height: 400px; + width: 100% } - #loader { - display: none; + .code-wrapper { + position: relative; } @@ -102,8 +103,6 @@