diff --git a/pkg/interface/src/views/landscape/components/GroupSwitcher.tsx b/pkg/interface/src/views/landscape/components/GroupSwitcher.tsx index 47ac1f19c6..f5e373d270 100644 --- a/pkg/interface/src/views/landscape/components/GroupSwitcher.tsx +++ b/pkg/interface/src/views/landscape/components/GroupSwitcher.tsx @@ -81,12 +81,11 @@ export function GroupSwitcher(props: { const title = getTitleFromWorkspace(associations, workspace); const navTo = (to: string) => `${props.baseUrl}${to}`; return ( - + - + } > - - - {title} - + + + {title} - + {(workspace.type === "group") && ( <> {isAdmin && ( diff --git a/pkg/interface/src/views/landscape/components/Sidebar/Sidebar.tsx b/pkg/interface/src/views/landscape/components/Sidebar/Sidebar.tsx index 07b96e02a2..1fec33daa6 100644 --- a/pkg/interface/src/views/landscape/components/Sidebar/Sidebar.tsx +++ b/pkg/interface/src/views/landscape/components/Sidebar/Sidebar.tsx @@ -48,20 +48,6 @@ interface SidebarProps { workspace: Workspace; } -// Magic spacer that because firefox doesn't correctly calculate -// position: sticky on a flex child -// remove when https://bugzilla.mozilla.org/show_bug.cgi?id=1488080 -// is fixed -const SidebarStickySpacer = styled(Box)` - height: 0px; - flex-grow: 1; - @-moz-document url-prefix() { - & { - height: ${p => p.theme.space[6] }px; - } - } -`; - export function Sidebar(props: SidebarProps) { const { invites, api, associations, selected, apps, workspace } = props; const groupPath = getGroupFromWorkspace(workspace); @@ -118,7 +104,6 @@ export function Sidebar(props: SidebarProps) { apps={props.apps} baseUrl={props.baseUrl} /> - @@ -51,12 +56,18 @@ export function SidebarListHeader(props: { - + + + + - + ); }