Skip to content

Commit 1ee5228

Browse files
committed
fix: GitHub徽标文本颜色保持白色
在GitHubButton组件的hover状态中明确指定文本颜色保持为白色,防止受全局链接hover样式影响
1 parent 50d5672 commit 1ee5228

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

office-website/src/components/Header.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ const GitHubButton = styled.a`
106106
}
107107
108108
&:hover {
109+
color: white;
109110
transform: translateY(-2px);
110111
}
111112
`;

0 commit comments

Comments
 (0)