diff --git a/randompedia.js b/randompedia.js index fb6b9fe..fece142 100644 --- a/randompedia.js +++ b/randompedia.js @@ -16,6 +16,9 @@ const button = document.createElement("a"); button.innerText = "Random Page!"; button.href = `https://${url.hostname}/wiki/Special:Random`; + button.style["display"] = "block"; + button.style["text-align"] = "left"; + button.style["width"] = "100%"; const search = document.getElementById("p-search"); search.parentNode.insertBefore(button, search.nextSibling);