fix: 修改样式

This commit is contained in:
speakeloudest 2025-09-01 08:15:13 -07:00
parent d01a381f9d
commit 42a2017dd6
2 changed files with 3 additions and 3 deletions

View File

@ -17,7 +17,7 @@ export default function Header() {
const { user } = useGlobalStore();
const Logo = (
<Link href='/' className='-mt-2.5 flex items-center gap-2 font-bold'>
<Image src={'image.png'} width={102} height={49} alt='logo' objectFit='cover' unoptimized />
<Image src={'image.png'} width={89} height={43} alt='logo' objectFit='cover' unoptimized />
</Link>
);
@ -26,7 +26,7 @@ export default function Header() {
<>
<header className='fixed top-10 z-50 w-full'>
<div className={'container'}>
<div className='flex h-[60px] items-center justify-between rounded-[50px] bg-white pl-4 pr-3 md:pl-6'>
<div className='flex h-[60px] items-center justify-between rounded-[50px] bg-white pl-4 pr-[10px] md:pl-6'>
<nav className='flex-col gap-6 font-medium md:flex md:flex-row md:items-center md:gap-5 md:text-sm lg:gap-6'>
{Logo}
</nav>

View File

@ -53,7 +53,7 @@ export function UserNav({ from = '' }: { from?: string }) {
src={user?.auth_methods?.[0]?.auth_identifier ?? ''}
className='object-cover'
/>
<AvatarFallback className='text-background bg-[#0F2C53] bg-gradient-to-br text-3xl font-bold'>
<AvatarFallback className='text-background bg-[#0F2C53] bg-gradient-to-br text-[32px] font-bold leading-none'>
{user?.auth_methods?.[0]?.auth_identifier.toUpperCase().charAt(0)}
</AvatarFallback>
</Avatar>