Skip to content

Commit 9f07983

Browse files
committed
optimize author name & avatar
1 parent 15d38ea commit 9f07983

2 files changed

Lines changed: 3 additions & 8 deletions

File tree

styles/components/repo/commit.ts

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,16 +25,10 @@ const commit = css`
2525
/* 提交列表 (选择器保证同等优先级覆盖了 gitea 原生的样式) */
2626
.ui.attached.table.segment.commit-table tbody.commit-list {
2727
/* 作者 */
28-
.author {
28+
.author .avatar-stack-names {
29+
color: ${themeVars.color.text.light.num1};
2930
img.ui.avatar {
3031
border-radius: 9999px;
31-
backdrop-filter: blur(12px);
32-
}
33-
/* 作者名称 */
34-
.author-wrapper {
35-
display: flex;
36-
color: ${themeVars.color.text.light.num1};
37-
overflow: visible;
3832
}
3933
}
4034
/* SHA 标签 */

styles/public/other.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ const avatar = css`
6969
.ui.avatar svg {
7070
background-color: ${themeVars.github.avatar.bgColor};
7171
box-shadow: 0 0 0 1px ${themeVars.github.avatar.borderColor};
72+
backdrop-filter: blur(12px);
7273
}
7374
`;
7475
// 切换按钮

0 commit comments

Comments
 (0)