Skip to content

Commit

Permalink
merge master
Browse files Browse the repository at this point in the history
  • Loading branch information
wangyantong2000 committed Nov 18, 2024
1 parent c2cee45 commit bce7861
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 8 deletions.
6 changes: 2 additions & 4 deletions src/pages/Options/components/GitHubToken.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,8 @@ const GitHubToken = () => {
style={{ marginRight: '10px', flex: 1 }}
disabled={true}
/>
<button onClick={handleBindAccount} style={{ marginTop: '17px' }}>
{t('github_account_bind')}
</button>
<button onClick={handleUnbindAccount} style={{ marginTop: '17px' }}>
<button onClick={handleBindAccount}>{t('github_account_bind')}</button>
<button onClick={handleUnbindAccount} style={{ marginLeft: '10px' }}>
{t('github_account_unbind')}
</button>
</div>
Expand Down
6 changes: 2 additions & 4 deletions src/pages/Options/components/GiteeToken.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -102,10 +102,8 @@ const GiteeToken = () => {
style={{ marginRight: '10px', flex: 1 }}
disabled={true}
/>
<button onClick={handleBindAccount} style={{ marginTop: '17px' }}>
{t('gitee_account_bind')}
</button>
<button onClick={handleUnbindAccount} style={{ marginTop: '17px' }}>
<button onClick={handleBindAccount}>{t('gitee_account_bind')}</button>
<button onClick={handleUnbindAccount} style={{ marginLeft: '10px' }}>
{t('gitee_account_unbind')}
</button>
</div>
Expand Down
1 change: 1 addition & 0 deletions src/pages/Options/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ button {
border: none;
padding: 10px 20px;
cursor: pointer;
border-radius: 4px;
}

button:hover {
Expand Down

0 comments on commit bce7861

Please sign in to comment.