Skip to content

Commit 543b073

Browse files
committed
更新 适配 Github 样式改动(Release)
1 parent 553b835 commit 543b073

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

GithubEnhanced-High-Speed-Download.user.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// ==UserScript==
22
// @name Github 增强 - 高速下载
3-
// @version 1.3.5
3+
// @version 1.3.6
44
// @author X.I.U
55
// @description 高速下载 Git Clone、Release、Raw、Code(ZIP) 等文件、项目列表单文件快捷下载 (☁)
66
// @match *://github.com/*
@@ -120,7 +120,7 @@
120120
$(this).next().after(html);
121121
});
122122
// 修改[文件大小]元素样式
123-
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;');
123+
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;');
124124

125125

126126
// Source Code

0 commit comments

Comments
 (0)