Float the button to the left
This commit is contained in:
parent
9a63bf6ff8
commit
721d7842eb
1 changed files with 3 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue