mirror of
https://github.com/Sonny93/my-links.git
synced 2025-12-08 22:53:25 +00:00
fix: dashboard header wrap when collection's name too large
This commit is contained in:
@@ -35,7 +35,7 @@ export function DashboardHeader({ navbar, aside }: DashboardHeaderProps) {
|
||||
const { activeCollection } = useActiveCollection();
|
||||
return (
|
||||
<AppShell.Header style={{ display: 'flex', alignItems: 'center' }}>
|
||||
<Group justify="space-between" px="md" flex={1}>
|
||||
<Group justify="space-between" px="md" flex={1} wrap="nowrap">
|
||||
<Group h="100%" wrap="nowrap">
|
||||
<Burger
|
||||
opened={navbar.opened}
|
||||
@@ -57,7 +57,7 @@ export function DashboardHeader({ navbar, aside }: DashboardHeaderProps) {
|
||||
)}
|
||||
</Box>
|
||||
</Group>
|
||||
<Group>
|
||||
<Group wrap="nowrap">
|
||||
<ShareCollection />
|
||||
|
||||
<Menu withinPortal shadow="md" width={225}>
|
||||
|
||||
Reference in New Issue
Block a user