fix: user button

This commit is contained in:
diced
2023-03-04 12:43:10 -08:00
parent 61db4eaddb
commit df013a52d1
2 changed files with 6 additions and 14 deletions

View File

@@ -355,13 +355,9 @@ export default function Layout({ children, props }) {
<Menu.Target>
<Button
leftIcon={avatar ? <Image src={avatar} height={32} radius='md' /> : <SettingsIcon />}
sx={(t) => ({
backgroundColor: 'inherit',
'&:hover': {
backgroundColor: t.other.hover,
},
color: t.colorScheme === 'dark' ? 'white' : 'black',
})}
variant='subtle'
color='gray'
compact
size='xl'
p='sm'
>

View File

@@ -489,15 +489,11 @@ export default function Manage({ oauth_registration, oauth_providers: raw_oauth_
<Text>Preview:</Text>
<Button
leftIcon={fileDataURL ? <Image src={fileDataURL} height={32} radius='md' /> : <SettingsIcon />}
sx={(t) => ({
backgroundColor: '#00000000',
'&:hover': {
backgroundColor: t.other.hover,
},
color: t.colorScheme === 'dark' ? 'white' : 'black',
})}
size='xl'
p='sm'
variant='subtle'
color='gray'
compact
>
{user.username}
</Button>