From ae0bcce5ad8cc12fb7bb4e3600207003363cbbdb Mon Sep 17 00:00:00 2001 From: Jonas Weinz Date: Fri, 29 Mar 2019 13:20:21 +0100 Subject: [PATCH] fixing button margins --- infocontainer.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/infocontainer.js b/infocontainer.js index 12653ac..eb899d2 100644 --- a/infocontainer.js +++ b/infocontainer.js @@ -90,6 +90,12 @@ class Infocontainer b1.style.width = "80%"; b2.style.width = "20%"; + b2.style.marginLeft = "2%"; + b1.style.marginTop = "1%"; + b2.style.marginTop = "1%"; + b1.style.marginBottom = "1%"; + b2.style.marginBottom = "1%"; + b1.innerHTML = "" + text + "" b2.appendChild(document.createTextNode(option));