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