Skip to content

Commit a3dd583

Browse files
author
winjo
committed
chore: 优化样式
1 parent 7dd481c commit a3dd583

3 files changed

Lines changed: 9 additions & 4 deletions

File tree

packages/alex/src/integration/startup/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ const platformConfig = {
5656
platform: 'github',
5757
owner: 'microsoft',
5858
name: 'vscode',
59-
origin: 'https://code.alipay.com',
59+
origin: 'https://github.alipay.com',
6060
endpoint: 'https://api.github.com',
6161
},
6262
gitlab: {

packages/code-api/src/github/github.contribution.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { Autowired } from '@ali/common-di';
22
import {
33
ComponentContribution,
44
ComponentRegistry,
5-
getIcon,
5+
getExternalIcon,
66
CommandRegistry,
77
SlotLocation,
88
ClientAppContribution,
@@ -37,7 +37,7 @@ export class GithubContribution
3737
},
3838
{
3939
containerId: GITHUB_CONTAINER_ID,
40-
iconClass: getIcon('github-fill'),
40+
iconClass: getExternalIcon('github'),
4141
title: 'GitHub',
4242
}
4343
);

packages/code-api/src/github/github.view.tsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,12 @@ export const GitHubView: React.FC = observer(() => {
9595
>
9696
{localize('common.save')}
9797
</Button>
98-
<Button size="small" onClick={() => setTokenValue('')} loading={validating}>
98+
<Button
99+
size="small"
100+
onClick={() => setTokenValue('')}
101+
loading={validating}
102+
type="default"
103+
>
99104
{localize('common.reset')}
100105
</Button>
101106
</div>

0 commit comments

Comments
 (0)