optimize latest commit style

This commit is contained in:
lutinglt
2025-11-28 11:51:42 +08:00
parent 91ef8da69c
commit 15d741ff66
6 changed files with 19 additions and 14 deletions

View File

@@ -36,12 +36,8 @@ export const commit = css`
}
// 提交信息右侧
.tw-text-right {
// 时间标签
relative-time,
// 复制 SHA 按钮
.btn.copy-commit-id,
// 查看提交路径按钮
.btn.view-commit-path {
svg {
color: ${themeVars.color.text.light.num1};
}
}

View File

@@ -1,11 +1,12 @@
import { css, otherThemeVars, themeVars } from "src/types/vars";
export const repoFileLastCommit = css`
// 仓库页的最后一次提交
// 仓库页和文件列表文件夹页的最后一次提交
.repository.file.list #repo-files-table .github-theme-templates.repo-file-line.repo-file-last-commit {
padding-right: 10px;
// 提交时间
.github-latest-time {
color: ${themeVars.color.text.light.num1};
font-size: 12px;
}
// 提交历史按钮