From 1e22a5750c81a68944108085aecf623047124578 Mon Sep 17 00:00:00 2001 From: emkael Date: Sun, 26 Feb 2017 09:30:27 +0100 Subject: Minor style fixes --- vcards.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vcards.js b/vcards.js index 595bb94..e3c5dd4 100644 --- a/vcards.js +++ b/vcards.js @@ -9,6 +9,9 @@ if (typeof JFRTEAMY_VCARDS == 'undefined') { loader.style.display = 'none'; loader.style.margin = '0 30px'; fotoSpan.parentNode.insertBefore(loader, fotoSpan); + fotoSpan.parentNode.width = 600; + fotoSpan.parentNode.height = 500; + fotoSpan.parentNode.style.verticalAlign = 'top'; var loadedPid = undefined; for (var i = 0; i < links.length; i++) { var link = new URL(links[i].href); @@ -30,7 +33,7 @@ if (typeof JFRTEAMY_VCARDS == 'undefined') { loader.style.display = 'none'; } fotoSpan.innerHTML = ''; - loader.style.display = 'inline-block'; + loader.style.display = 'inline'; fotoSpan.style.visibility = 'hidden'; fotoSpan.append(iframe); loadedPid = p; -- cgit v1.2.3