Update nightly.link buttons to version 1.2.4

- Fix button centering in some pages (thanks https://github.com/JeelPatel231)
  (example: https://github.com/termux/termux-packages/pull/14116/checks)
This commit is contained in:
blankie 2022-12-30 16:55:02 +07:00
parent 3c2554a5f3
commit 6ea6478ed9
Signed by: blankie
GPG Key ID: CC15FC822C7F61F5
1 changed files with 2 additions and 1 deletions

View File

@ -3,7 +3,7 @@
// @namespace blankie-scripts
// @match http*://github.com/*
// @grant none
// @version 1.2.3
// @version 1.2.4
// @author blankie
// @run-at document-end
// @description Show buttons to nightly.link on artifacts and build logs
@ -88,6 +88,7 @@ function addLogsButton(githubLogsButton, logsHeader) {
return true;
} else if (logsHeader !== null) {
let logsLink = document.createElement("a");
logsLink.style.alignSelf = "center";
logsLink.innerText = "View on nightly.link";
logsLink.href = logsUrl;
logsHeader.append(logsLink);