From 6ea6478ed93378ed26946669cca6f24c6983fca7 Mon Sep 17 00:00:00 2001 From: blankie Date: Fri, 30 Dec 2022 16:55:02 +0700 Subject: [PATCH] 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) --- nightly.link buttons.user.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nightly.link buttons.user.js b/nightly.link buttons.user.js index 64bbdc6..27d9769 100644 --- a/nightly.link buttons.user.js +++ b/nightly.link buttons.user.js @@ -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);