refactor: remove dead css

This commit is contained in:
Sonny
2024-11-10 23:25:47 +01:00
parent 01efb11f70
commit cc63ce37c3
6 changed files with 21 additions and 61 deletions

View File

@@ -4,8 +4,8 @@ import {
ActionIcon,
AppShell,
Badge,
Box,
Burger,
Flex,
Group,
Menu,
Text,
@@ -36,14 +36,14 @@ export function DashboardHeader({ navbar, aside }: DashboardHeaderProps) {
return (
<AppShell.Header style={{ display: 'flex', alignItems: 'center' }}>
<Group justify="space-between" px="md" flex={1}>
<Group h="100%">
<Group h="100%" wrap="nowrap">
<Burger
opened={navbar.opened}
onClick={navbar.toggle}
hiddenFrom="sm"
size="sm"
/>
<Flex direction="column">
<Box w="50%">
<Text lineClamp={1}>
{activeCollection?.name}{' '}
{activeCollection?.visibility === Visibility.PUBLIC && (
@@ -55,7 +55,7 @@ export function DashboardHeader({ navbar, aside }: DashboardHeaderProps) {
{activeCollection.description}
</Text>
)}
</Flex>
</Box>
</Group>
<Group>
<ShareCollection />