fix: add minWidth to user dropdown
This commit is contained in:
parent
9147847710
commit
1a5925d7e8
1 changed files with 2 additions and 2 deletions
|
@ -305,7 +305,7 @@ export default function Layout({ children, props }) {
|
||||||
leftIcon={avatar ? <Image src={avatar} height={32} radius='md' /> : <SettingsIcon />}
|
leftIcon={avatar ? <Image src={avatar} height={32} radius='md' /> : <SettingsIcon />}
|
||||||
onClick={() => setOpen((o) => !o)}
|
onClick={() => setOpen((o) => !o)}
|
||||||
sx={t => ({
|
sx={t => ({
|
||||||
backgroundColor: '#00000000',
|
backgroundColor: 'inherit',
|
||||||
'&:hover': {
|
'&:hover': {
|
||||||
backgroundColor: t.other.hover,
|
backgroundColor: t.other.hover,
|
||||||
},
|
},
|
||||||
|
@ -318,7 +318,7 @@ export default function Layout({ children, props }) {
|
||||||
</Button>
|
</Button>
|
||||||
</Popover.Target>
|
</Popover.Target>
|
||||||
|
|
||||||
<Popover.Dropdown p={4}>
|
<Popover.Dropdown p={4} mr='md' sx={{ minWidth: '200px' }}>
|
||||||
<Stack spacing={2}>
|
<Stack spacing={2}>
|
||||||
<Text sx={{
|
<Text sx={{
|
||||||
color: theme.colorScheme === 'dark' ? theme.colors.dark[2] : theme.colors.gray[6],
|
color: theme.colorScheme === 'dark' ? theme.colors.dark[2] : theme.colors.gray[6],
|
||||||
|
|
Loading…
Add table
Reference in a new issue