更新 适配 Github 样式改动(Release)

This commit is contained in:
xiu2
2021-02-27 12:51:46 +08:00
parent 553b8352bd
commit 543b0738bc
+2 -2
View File
@@ -1,6 +1,6 @@
// ==UserScript==
// @name Github 增强 - 高速下载
// @version 1.3.5
// @version 1.3.6
// @author X.I.U
// @description 高速下载 Git Clone、Release、Raw、Code(ZIP) 等文件、项目列表单文件快捷下载 (☁)
// @match *://github.com/*
@@ -120,7 +120,7 @@
$(this).next().after(html);
});
// 修改[文件大小]元素样式
document.querySelectorAll('small.pl-2.text-gray.flex-shrink-0').forEach(el=>el.style.cssText='display: flex; justify-content: flex-end; flex-grow: 1; margin-right: 8px;');
document.querySelectorAll('small.pl-2.color-text-secondary.flex-shrink-0').forEach(el=>el.style.cssText='display: flex; justify-content: flex-end; flex-grow: 1; margin-right: 8px;');
// Source Code