chore: update default theme style

This commit is contained in:
JustSong
2025-02-02 14:00:40 +08:00
parent f325f58edf
commit bd7d0d1e96
2 changed files with 96 additions and 2 deletions

View File

@@ -165,7 +165,13 @@ const Header = () => {
: { borderTop: 'none', height: '52px' }
}
>
<Container>
<Container
style={{
width: '100%',
maxWidth: isMobile() ? '100%' : '1200px',
padding: isMobile() ? '0 10px' : '0 20px',
}}
>
<Menu.Item as={Link} to='/'>
<img src={logo} alt='logo' style={{ marginRight: '0.75em' }} />
<div style={{ fontSize: '20px' }}>
@@ -236,7 +242,13 @@ const Header = () => {
border: 'none',
}}
>
<Container>
<Container
style={{
width: '100%',
maxWidth: isMobile() ? '100%' : '1200px',
padding: isMobile() ? '0 10px' : '0 20px',
}}
>
<Menu.Item as={Link} to='/' className={'hide-on-mobile'}>
<img src={logo} alt='logo' style={{ marginRight: '0.75em' }} />
<div