Skip to content

Commit

Permalink
chore: update button style
Browse files Browse the repository at this point in the history
  • Loading branch information
songquanpeng committed Jan 31, 2025
1 parent 0df6d7a commit 5997fce
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
7 changes: 2 additions & 5 deletions web/default/src/components/Footer.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,18 +29,15 @@ const Footer = () => {

return (
<Segment vertical>
<Container textAlign='center'>
<Container textAlign='center' style={{ color: '#666666' }}>
{footer ? (
<div
className='custom-footer'
dangerouslySetInnerHTML={{ __html: footer }}
></div>
) : (
<div className='custom-footer'>
<a
href='https://github.com/songquanpeng/one-api'
target='_blank'
>
<a href='https://github.com/songquanpeng/one-api' target='_blank'>
{systemName} {process.env.REACT_APP_VERSION}{' '}
</a>
{' '}
Expand Down
5 changes: 4 additions & 1 deletion web/default/src/components/Header.js
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,9 @@ const Header = () => {
{renderButtons(true)}
<Menu.Item>
{userState.user ? (
<Button onClick={logout}>注销</Button>
<Button onClick={logout} style={{ color: '#666666' }}>
注销
</Button>
) : (
<>
<Button
Expand Down Expand Up @@ -250,6 +252,7 @@ const Header = () => {
style={{
fontSize: '15px',
fontWeight: '400',
color: '#666',
}}
>
注销
Expand Down

0 comments on commit 5997fce

Please sign in to comment.